jQuery and Prototype Script Conflict


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. jQuery.noConflict();
  2. jQuery(document).ready(function() {
  3. jQuery('blabla').replaceWith('');
  4. });
  5.  
  6. [ OR ]
  7.  
  8. var J = jQuery.noConflict();
  9. J(document).ready(function() {
  10. J('blabla').replaceWith('');
  11. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.