selector issue
  • Thank you for the great plugin. I have found that an issue exists when a radio button id contains one or more characters that need to be escaped in a selector statement. For instance consider a radio with id="r:1" and the associated label has for="r:1". There are several instances in $label.bind('click',function() where the selector is built as follows

    $('input#' + $(this).attr('for'))

    The resultant selector becomes $(input#r:1). To perform properly this selector must be escaped to become $(input#r\:1).

    There is an existing jQuery plugin to do this with regex located at the following link. Please consider including the associated functions in your plugin or otherwise modifying the code to take this into account.

    http://kjvarga.blogspot.com/2009/06/jquery-plugin-to-escape-css-selector.html

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter