nicepage43
posted this
21 March 2019
Hi,
I like to run some small scripts by jQuery inside my nicepage. As I understand I can add them in the Site Settings, Additional Head HTML. I also see jQuery 1.9.1 is loaded before my code. But if I do something like
$(function() {
// Handler for .ready() called.
});
or
jQuery(function() {
// Handler for .ready() called.
});
I get error messages like jQuery is not defined.
I don't like to include a second instance of jQuery. I think it should be possible to use the already installed jQuery. So what do I have to do to use jQuery?
Kind regards
Christoph
Hi,
I like to run some small scripts by jQuery inside my nicepage. As I understand I can add them in the Site Settings, Additional Head HTML. I also see jQuery 1.9.1 is loaded before my code. But if I do something like
$(function() {
// Handler for .ready() called.
});
or
jQuery(function() {
// Handler for .ready() called.
});
I get error messages like jQuery is not defined.
I don't like to include a second instance of jQuery. I think it should be possible to use the already installed jQuery. So what do I have to do to use jQuery?
Kind regards
Christoph
Last edited 21 March 2019 by nicepage43
Vote to pay developers attention to this features or issue.