Forum Discussion
Payal
7 years agoDirector
Hi Snaffle,
You have to first define the jquery CDN which is as follows:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" type="text/javascript"></script>
<script>
//Your code
</script>
Thanks
You have to first define the jquery CDN which is as follows:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" type="text/javascript"></script>
<script>
//Your code
</script>
Thanks
- snaffle7 years agoExpert
Hi Payal,
Thanks for the quick reply, and yes we know how to include it but including a second JQuery library was what we were hoping to avoid.
But it looks like including it again is the only solution.
- Payal7 years agoDirectorHi Snaffle,
Then, Jquery is not defined might be of the following reasons:
1.The order in which you load your scripts is not correct, if you use multiple scripts.
2.If you are loading the jQuery library from any of the CDN, then please check that CDN link is working or not.
You can include your jquery CDN in header.
Let me know if this works.
Thanks- snaffle7 years agoExpert
Yes it works, but that wasn't the problem.
Thanks for your suggestions anyway.
Related Content
- 14 years ago
- 12 years ago
- 11 years ago