Single form submission script and AJAX...

S

stuart

Hi,

I am in the process of adding ajax to a large application - but due to a
script on the master page form tag the form disables itself after the first
post.

Is there any way to disable this script when an AJAX event is fired, but
allow it to run when a PostBack event fires?

<form id="aspnetForm" runat="server" onSubmit="if (this.submitted) return
false; this.submitted = true; return true">

Thanks in advance,

Stu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top