What steps will reproduce the problem?
1. Apply ufd to a select element which only has a name attribute
2. Call ufd('destroy')
What is the expected output? What do you see instead?
ufd should delete the custom dropdown and show the native dropdown. Instead
both the native and custom dropdowns are shown and the destroy method fails
with this error : "Uncaught TypeError: Cannot call method 'attr' of undefined"
on line 1021 of jquery.ui.ufd.js.
If I give an id to the select element, everything works as expected.
What version of the product are you using? On what operating system?
ufd 0.6 with jQuery 1.5.1 and jQueryUI 1.8.10, on Windows XP SP3. Only tested
on Chrome 10.0.648.151.
Please provide any additional information below.
Original issue reported on code.google.com by roma...@gmail.com on 18 Mar 2011 at 3:59
Original issue reported on code.google.com by
roma...@gmail.com
on 18 Mar 2011 at 3:59