Ticket #4299 (closed bug: duplicate)
attr(attrName, newAttrValue) fails on object which has child with name=attrName
|Reported by:||soswow||Owned by:||flesler|
Sorry, if dublicate, but its strange, that this is not fixed since old versions.
Bug is: When I have form with some inputs with name=action for example, I cant change "action" attribute of this form with "attr" method! As I finded out I cant change any attribute of form when there is same named control inside form.
I don't know what about other attributes of other element if there is control with same name inside it.
This bug applyes only to FF (3 at least) and IE (6 and 7 tested) Safary and Chrome works well.
IE even throw exception in described situation.
A attaching HTML with working example of the bug. You can test it various browsers and You will get different results.
- Status changed from new to closed
- Version changed from 1.3.2 to 1.4a1
- Resolution set to fixed
- Status changed from closed to reopened
- Resolution fixed deleted
- Status changed from reopened to closed
- Resolution set to duplicate