||View All MessagesBack to WebFX|
Please post your code for the onsubmit event Michael. I suspect you have a dependency issue. You may be trying to perform multiple actions simultaneously but expecting them to complete in a specific order.
Brian R. James
From: Michael B.
Sent: August 2, 2004
Subject: Re:JS Problem - code breaks if run too fast?
Here's the problem: Sometimes special characters are pasted into the text area from Word. Then, the submit code seems to go wrong - it jumbles the content and some of the data is lost. I started adding alerts in various places in the code to try and see where it was going wrong. But it seems that by placing the alerts in the function, it slows it down... and the error goes away!
It seems as though the code is going too fast and getting confused. ...but that doesn't really make sense to me. Has anyone ever experienced illogical breaks like this? Any suggestions?
Thanks in advance!