[jQuery] Re: each function not iterating

2009-10-21 Thread Richard D. Worth
Do you have two different forms on your page, or is it one form with an id of 'testform' and a class of 'uplform'? Your code says you want to look at the inputs in the #testform, but your email says you want to look at the inputs belonging to form.uplform. If they're the same form, you can do $(th

[jQuery] Re: each function not iterating

2009-10-21 Thread Charlie
live() doesn't support submit() http://docs.jquery.com/Events/live your each should work assuming there is an attribute "validate" in your markup instead of live look at livequery plugin j...@creatusadvertising.com wrote: Hi! I have this code: $("form.uplform").live('submit', functi

[jQuery] Re: each function not iterating

2009-10-21 Thread waseem sabjee
looks at this example var itemlist = $(".list"); itemlist.each(function(i) { // in this line notice i declared a variable i within the brackets you forget to do this. itemlist.eq(i).remove(); // .eq(i). is the magic here. }); On Wed, Oct 21, 2009 at 8:41 AM, jan wrote: > > Hi! > > Sorry to fl