Opened 13 years ago
Closed 12 years ago
#5069 closed bug (worksforme)
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.
Change History (4)
comment:1 Changed 13 years ago by
comment:2 Changed 12 years ago by
Milestone: | 1.4 |
---|---|
Owner: | changed from john to guramrit |
Priority: | critical → undecided |
Status: | new → pending |
Please provide a distilled and reduced jsFiddle test case, thanks!
comment:3 Changed 12 years ago by
Created a jsfiddle http://jsfiddle.net/9KWuQ/ from this fiddle I cannot reproduce the issue based on the given repro case.
comment:4 Changed 12 years ago by
Keywords: | form selector added |
---|---|
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.