Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 8 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:

Description

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.

Code:

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

Change History (3)

comment:1 Changed 11 years ago by john

Milestone: 1.31.3.1

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

comment:2 Changed 11 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 11 years ago by dmethvin

Resolution: invalid
Status: newclosed

Thanks for the followup.

Note: See TracTickets for help on using tickets.