Skip to main content

Bug Tracker

Side navigation

#3899 closed bug (invalid)

Opened January 17, 2009 12:17PM UTC

Closed February 07, 2009 02:51PM UTC

Last modified March 15, 2012 02:57PM UTC

"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();

Attachments (0)
Change History (3)

Changed January 17, 2009 10:43PM UTC by john comment:1

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.

Changed January 22, 2009 08:59PM UTC by Ro_lexx comment:2

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? :-)

Changed February 07, 2009 02:51PM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

Thanks for the followup.