When i use accordion feature in two panels and try to set maxlength of an input field by using a js function in other panel, the maxlength value changes in mozilla Firefox in value (i checked via firebug) however it does not change on the field (you can not edit).
It works fine for chrome but not Firefox. Is this a real bug and what is the solution?
You can see the bug in detail:
http://jsfiddle.net/Jc3uc/1/
To see error:
at start the maxlength sets to 4.
when you open second tab and click the link it aims to set it to 45. however the maxlength value changes but you can not edit the field
I reported the same problem to http://bugs.jqueryui.com/ticket/8879 .. It seems that the case occurs using Firefox4, and there is no solution for that for the time being. Since its due to bug in Firefox, check https://bugzilla.mozilla.org/show_bug.cgi?id=818270
Be aware of that case when using accordion