• folks,

    i have this jquery and other lib problem.
    i read in articles telling me to put this code.but dont no where to put this. i mean in which file in wordpress?

    <script>
         var $j = jQuery.noConflict();
    
         // Use jQuery via $j(...)
         $j(document).ready(function(){
           $j("div").hide();
         });
    
         // Use Prototype with $(...), etc.
         $('someid').hide();
       </script>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Most scripts will generally be found in or link to from the header.php file of your active theme.

    Usually, you always place your Javascripts in the header.
    Inside the <head></head> tags.

    <script type="text/javascript">
    $(document).ready(function(){
         var $j = jQuery.noConflict();
    
         // Use jQuery via $j(...)
         $j(document).ready(function(){
           $j("div").hide();
         });
    
         // Use Prototype with $(...), etc.
         $('someid').hide();
    });
    </script>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where to put this function ?’ is closed to new replies.