Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
12-05-2008, 11:37 AM #1
- Join Date
- Dec 2008
- Thanked 0 Times in 0 Posts
AJAX Reload Runs Original JS Functions
I running a simple AJAX form that takes an email address to signup to a newsletter then replaces the form with thankyou otherwise it pops up an alert error and the form again.
Initialling I put a peice of code like shown below under the form but it wasn't executed after the AJAX reload like it would on a proper page load.
If I use firebug and inspect the function it has the alert but if I actually debug and step into the function it go to the original empty version.
Does anyone know how I can get around this?