using jquery.noConflict()
- by user548192
Hi All,
I have two files. HTML and .js files. in code.js, I have written jquery code and in HTML file, I am including code.js as following:
jQuery.noConflict();
var $jcode = jQuery;
in code.js, I have written following:
jcode(document).ready(function() {
jcode.interval(checkForms, 2000);
});
When I run it, it gives me error as can not read property of interval undefined.
I think there is something wrong with my usage of noConflict. Can you please help?
Thanks