sorry, I'm a knucklehead. I didn't read the whole thing before I 
suggested the onsubmit. However, I think what I said still stands 
correct. If you call it in both places, then you'll always be covered. 
If the user goes through the form as expected, you'll validate onblur... 
If they never really blur, but hit submit instead, then you'll be making 
sure it gets done before the form it away.

Jeff Waris wrote:

>Has anyone noticed this with firefox?
>
>I have a text box that a user inputs a number. Using an ONBLUR or ONCHANGE
>action I validate the number inputed. SIMPLE... Works perfectly.
>
>Well not quite. If the user goes to SUBMIT the form Directly after inputting
>the number. Firefox process the ONBLUR/ONCHANGE SIMULTANIOUSLY submitting
>the form. IE works as expected. It process the onblur/onchange first. This
>text box needs to be check right after entering, and would complicate the
>process checking it on the submit.
>
>Any workarounds to this? Am I going about this wrong? Is FIREFOX processing
>correctly and IE being nice?
>
>Thanks,
>Jeff
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212648
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to