field name "split" breaks add(form.elements)
|Reported by:||joern||Owned by:||flesler|
Description (last modified by joern)
A validation plugin user reported that giving a field the name-attribute "split" breaks the validation. Eventually I found out that this causes $().add(form.elements) to return a nested array (instead of just a flat one), eg.
[[input]] instead of [input]
(think array == jQuery object)
I have no idea whats causing that. A patch with a testcase is attached.
Change History (5)
Changed 8 years ago by joern
comment:3 Changed 7 years ago by flesler
- Resolution set to fixed
- Status changed from assigned to closed