Hi everybody,
I click on an image to call a javascript function to go to another by using following code
function func1(){
window.location.href='addToTable.asp?FID=2
}
what i want to do is from the function func1 first call an invisible asp page which does not have any html, to do som controlls (database) and if everything is ok then call window.location.href='addToTable.asp?FID=2 if not it will show a alert message.
how can i fix it?
thanks
I click on an image to call a javascript function to go to another by using following code
function func1(){
window.location.href='addToTable.asp?FID=2
}
what i want to do is from the function func1 first call an invisible asp page which does not have any html, to do som controlls (database) and if everything is ok then call window.location.href='addToTable.asp?FID=2 if not it will show a alert message.
how can i fix it?
thanks