using jquery.noConflict()

Posted by user548192 on Stack Overflow See other posts from Stack Overflow or by user548192
Published on 2010-12-21T05:50:56Z Indexed on 2010/12/21 5:54 UTC
Read the original article Hit count: 156

Filed under:

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

© Stack Overflow or respective owner

Related posts about jQuery