Friday, 15 July 2011

javascript - Uncaught TypeError: Cannot call method 'removeClass' of undefined -


I created a jquery mobile checkbox group dynamically. And want to enable binding event to enable selection of all functions. Once executed, the Chrome console indicates "Unkot type error: Undefined" removeClass "method can not call." The JS code is:

  var arr = ['& lt; Fieldet id = "countryContainer" name = "country container" data-roll = "control group" data-type = "horizontal" & gt; ']; Arr = push ('& lt; input type = "checkbox" id = "country_all" name = "country_now" value = "all" /> 

No comments:

Post a Comment