P
Paul Krasucki
This is for a search page that takes parameters on one page, processes the
query, and displays them on another page.
I've got a javascript popup window on a button click event. When the user
clicks the button, the popup window opens, and the parent page goes on with
the query. No problem there. The problems comes in when one of my
validator's throws an error, then naturally the page does not post back
waiting for the page to valid. However, the button click event still
happens on the client side, so the popup window opens, saying processing
query..... How do I stop the javascript function from running if the page
is not valid? Anyone with any ideas, or alternate plans would be greatly
appreciated. Thank you.
query, and displays them on another page.
I've got a javascript popup window on a button click event. When the user
clicks the button, the popup window opens, and the parent page goes on with
the query. No problem there. The problems comes in when one of my
validator's throws an error, then naturally the page does not post back
waiting for the page to valid. However, the button click event still
happens on the client side, so the popup window opens, saying processing
query..... How do I stop the javascript function from running if the page
is not valid? Anyone with any ideas, or alternate plans would be greatly
appreciated. Thank you.