jquery conflict issue in Magento

Solution 1 :

    var j = jQuery.noConflict();
   
    j( "div table" ).hide();
   
    $( "mytestid" ).style.display = "none";

Solution 2 :

    jQuery.noConflict();

    jQuery( "div table" ).hide();

    $( "mytestid" ).style.display = "none";

Solution 3 :

    jQuery.noConflict();
    (function( $ ) {
      $(function() {
        --------
        -------
        -----
      });
    })(jQuery);


EmoticonEmoticon