I must use jquery, but the site contains prototype elements, and jquery UI tabs not working:
How jQuery.noConflict(); works in this code? $(function() { $( "#tabs" ).tabs(); }开发者_开发知识库);When using jQuery.noConflict(), you have to use jQuery() instead of $() when using jQuery functions. Assuming that the code you provided is jQuery-based, it has to look the following:
jQuery(function() { jQuery( "#tabs" ).tabs(); });
精彩评论