Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

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,280
    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,280
    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,280
    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