Skip to main content

Bug Tracker

Side navigation

#5069 closed bug (worksforme)

Opened August 18, 2009 01:18PM UTC

Closed November 20, 2010 04:39AM UTC

form selector doesn't work

Reported by: guramrit Owned by: guramrit
Priority: low Milestone:
Component: selector Version: 1.3.2
Keywords: form selector Cc:
Blocked by: Blocking:
Description

form selector doesn't work properly in 1.3.2 release, but it works in 1.2.6. I wanted to bind submit event to form using

$('#divid form').submit(function(){

});

but no output, works in 1.2.6

I'm able to make it happen using

$($('#divid form')[0].form).submit(function() {

});

but it's not the good way, i think.

Attachments (0)
Change History (4)

Changed August 20, 2009 02:57AM UTC by dmethvin comment:1

Please submit a complete test case.

Changed October 27, 2010 10:41PM UTC by rwaldron comment:2

milestone: 1.4
owner: johnguramrit
priority: criticalundecided
status: newpending

Please provide a distilled and reduced jsFiddle test case, thanks!

Changed October 30, 2010 06:49AM UTC by aboushley comment:3

Created a jsfiddle http://jsfiddle.net/9KWuQ/ from this fiddle I cannot reproduce the issue based on the given repro case.

Changed November 20, 2010 04:39AM UTC by addyosmani comment:4

keywords: → form selector
priority: undecidedlow
resolution: → worksforme
status: pendingclosed

Your test case works fine in both jQuery 1.3.2 (see aboushley's test case above) and it also works fine with jQuery 1.4.4. See Live Test Case. As two members of the triage team have been unable to reproduce this issue based on the information provided I am closing this ticket as it works for us. If you have further test cases you would like to submit we'll be happy to re-investigate.