Question : trouble with user clicking before content loads ASP and Javascript

On my page a window pops up asking them for their email address. This form uses validation to prevent them from entering a blank value. If however I click the button very quickly before the validation script loads then I get pushed to the next page where I get an error saying that I cannot insert a null value into my database. Is there a way to disable clicking until the validation script loads? Or possibley a better solution to this problem? thanks

Answer : trouble with user clicking before content loads ASP and Javascript

Use this format string:

"000-00-0000"

When you use #, it gets dropped if it's not "needed".
Random Solutions  
 
programming4us programming4us