Hi Karl and Jake,
Thank you for those super quick replies, sensational!
Jake I did try yours after reading your reply, but it wasn't working.
The find("form") was still 'finding' the original form...not the ajax
loaded one.
This was actually my main problem, because the new form (from the ajax
Hi Michael,
I think this tutorial will help you solve the problem:
http://docs.jquery.com/Tutorials:AJAX_and_Events
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On May 16, 2007, at 9:49 AM, Michael Sharman wrote:
Hi Jake,
There is a version here: ht
Mike:
You have to reattach events to documents loaded dynamically, so you can do
something like:
$.ajax({
...,
success: function(html) {
$(body).append(html).find("form").submit(function(){
/* Validate function here */
})
},
...
});
Hope that helps!
- jake
On 5/16/07, Michael Sh
Hi Jake,
There is a version here: http://www.21goals.com/demo/
Basically when you submit the 'Add Goal' page (when it's empty) you
get jquery validation.
If I then click the 'login' link from the header the login page is
loaded via Ajax. It is this page which I want to validate exactly like
the
Mike:
Do you have a live example?
- jake
On 5/16/07, Michael Sharman <[EMAIL PROTECTED]> wrote:
Hi guys,
I have a page which contains javascript validation for an existing
form. There is also a link where another form can be loaded onto the
page via ajax, this step is working fine.
My prob
5 matches
Mail list logo