Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.
osgood_Correct answer
Legend
Dec 12, 2017 2:51 PM UTC

Try surrounding your whole block of jQuery code in a $(document).ready function::::

$(document).ready(function() {

JQUERY GOES HERE

});

Failing that where did you get the code from?

4 replies

BenPleysier
Community Expert
Community Expert
Dec 12, 2017 10:29 AM UTC

Not seeing the whole of your document, I can only summise that you have not included the jQuery library to support the JavaScript that you have shown.

Translate
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
alices74118196
Participant
Dec 12, 2017 1:42 PM UTC

Hello,

Thank you for replying,

here is a screenshot of what I think you mean,

I originally had the google one alone but the other was recommended on another forum, not sure if that is the problem?

Best,

Alice

Translate
osgood_Correct answer
Legend
Dec 12, 2017 2:51 PM UTC

Try surrounding your whole block of jQuery code in a $(document).ready function::::

$(document).ready(function() {

JQUERY GOES HERE

});

Failing that where did you get the code from?

Translate