Modify ↓
Ticket #8997 (closed bug: fixed)
new attribute "form" (HTML5) is not supported, .attr('form') not working properly
| Reported by: | sergserg_86@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.6 |
| Component: | attributes | Version: | 1.5.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
$('form input').attr('form') will return DOM-object form, but not string or undefined... More details (examples) you can see here: http://jsfiddle.net/JohnJ/TfKw9/ About attribute "form" in HTML5 you can read here: http://www.w3.org/TR/2011/WD-html5-20110405/association-of-controls-and-forms.html#attr-fae-form
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

This is working properly in jQuery git. http://jsfiddle.net/timmywil/TfKw9/1/