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 comment:1
Changed October 27, 2010 10:41PM UTC by comment:2
milestone: | 1.4 |
---|---|
owner: | john → guramrit |
priority: | critical → undecided |
status: | new → pending |
Please provide a distilled and reduced jsFiddle test case, thanks!
Changed October 30, 2010 06:49AM UTC by 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 comment:4
keywords: | → form selector |
---|---|
priority: | undecided → low |
resolution: | → worksforme |
status: | pending → closed |
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.
Please submit a complete test case.