$ is not a function
If you are trying to add your own jQuery code to WordPress
and seeing an error “$ is not a function” in Firebug,
If you code is looking like this:
Then you need to change all '$' sign to jQuery
and seeing an error “$ is not a function” in Firebug,
If you code is looking like this:
$(document).ready(function(){
$("#list").dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers"
});
});
Then you need to change all '$' sign to jQuery
jQuery(document).ready(function() {
jQuery('#list').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
});
});
0 comments:
Post a Comment