Ticket #7712 (closed bug: duplicate)
.attr / child element mixup
|Reported by:||daniel@…||Owned by:||daniel@…|
Description (last modified by jitter) (diff)
$('#myform').attr('action', 'http://google.com') fails if the form has a hidden element named action. Example markup:
<form action="http://bing.com" method="post" id="myform"> <input type="hidden" name="action" value="something" /> </form>
I'll post a testcase as soon as I have time.
- Owner set to daniel@…
- Status changed from new to pending
- Status changed from pending to closed
- Resolution set to duplicate
Note: See TracTickets for help on using tickets.