Hi there,
I am not sure what you're trying to do, but there are a few problems with your code. First, look at this:
<form name="jsform">
If you look in the HTML in the browser, there's a fair chance that ASP.NET renamed your form to something else. By default, you only have one form, and .NET takes care if it. The final HTML in the browser may shed some light on this.
Second, your form elements may have been renamed, so visitorname is no longer visitorname. Again, look in the HTML for this.
Then the onsubmit. Your function is fired, but the form is also submitted to te server. Not sure if that's what you find.
Finally, look at this:
parent.location = mailer;
Are you working with frames??
If you explain what your code is supposed to do, I may be able to help you with a .NET alternative....
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out
this post.