Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1099672
JQuery in Custom JS
Closed

Comments

  •  2
    simonx2k started the conversation

    Hello,

    how can I use jquery in the custom js part of the options theme?

    $ doesn't work

    Thanks!

  •  7,121
    Oliver replied

    HI!

    What code did you paste.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  2
    simonx2k replied

    $('.class').click(function(){ return false})

    Error: Uncaught TypeError: $ is not a function

  •  7,121
    Oliver replied
    jQuery(document).ready(function($) {
    $('p').click(function(){
      alert('123');
    });
    });

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  2
    simonx2k replied

    Thank you!

  •  7,121
    Oliver replied

    You are welcome!

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver