Checkboxradio Is Not a Function
I Am Using jQuery 1.9.1, jQuery Mobile 1.3.1 (Js & Css) in My Web App. When I Call Checkboxradio to Uncheck All the Checkboxes, Its Throwing the Exception...
I am using jQuery 1.9.1, jQuery mobile 1.3.1 (js & css) in my web app. When I call checkboxradio to uncheck all the checkboxes, its throwing the exception "checkboxradio is not a function"
$("input[type='checkbox']").attr("checked",false).checkboxradio("refresh");
When I try the same as a sample app, it works.
The problem is: the function inside jQuery mobile 1.3.1.js file is not getting called. I do see the jQuery mobile 1.3.1.js in the scripts loaded in firebug.
Please advise on how to find out what is going wrong here.
1 Answer
Check here for checkbox uncheck script
JQUERY
$("#checklisttable input").each(function(){
$(this).prop('checked', false);
});