Symmetri Developer Blog

December 2, 2007

jQuery radio button bug

Javascript - By Shourov Bhattacharya

This is especially relevant if you use the excellent jQuery treeview code to create client-side tree controls. I’ve been using it to create an input control that uses radio buttons, and I have found a weird bug - opening and closing the tree clears all radio button selections inside that branch of the tree! I tore my hair out for a while trying to work it out, then hunted it down to a known bug on the jQuery site http://dev.jquery.com/browser/trunk/jquery/src/core.js?rev=3839. Either get the new version of jQuery or copy the code into your existing version (I had to do the latter, as the latest version of jQuery breaks the treeview code which is yet to be updated).

Comments »

No comments yet.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome
Theme designed by Janis Joseph