Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#3899 closed bug (invalid)

"find() + end() + submit()" problem

Reported by: Ro_lexx Owned by: john
Priority: major Milestone: 1.3.1
Component: selector Version: 1.3
Keywords: Cc:
Blocked by: Blocking:


Unlike version 1.2.6 the following construction does not work how it was expected. Value of the field is updated, but there is no form sending.


$( "#actionForm" ).find( ":hidden[name=task]" ).val( "update" ).end().submit();

Change History (3)

comment:1 Changed 14 years ago by john


Do you have an example where this occurs? It's kind of hard to determine this from just this statement.

comment:2 Changed 14 years ago by Ro_lexx

Sorry, there was my fault in the form.submit() validation method that used unescaped name attribute (like "user_id[]") of each unfilled required element to find specific error message holder with the #id-style selector. Amazing how could this work in 1.2.6 version? :-)

comment:3 Changed 14 years ago by dmethvin

Resolution: invalid
Status: newclosed

Thanks for the followup.

Note: See TracTickets for help on using tickets.