I have a button that calls "createURL()", yet all of the sudden my code is saying, "createURL() undefined" whenever I press the button, I'm using cloudflare and maybe that's the issue, it was working perfectly fine until I updated jquery, now it keeps telling me my function is undefined, has this happened to anyone else?
Asked
Active
Viewed 312 times
-1
-
It was working find until you broke the code (it has nothing to do with jQuery versions) - find out where. – user2246674 Oct 06 '13 at 22:31
-
the code is fine, it's just that type="text/javascript" gets changed to type="text/rocketscript" and I have no idea what it is, i've disabled all cloudflare plugins and it still happens. – SuperBeast Oct 06 '13 at 22:33
-
http://stackoverflow.com/questions/9681032/why-is-wordpress-placing-text-rocketscript-instead-of-text-javascript-when-u – elclanrs Oct 06 '13 at 22:35
-
@user1925957 Still unrelated to jQuery (but perhaps not the *usage* of such in the given environment). Re-examine the statement "it was working perfectly fine until I updated jquery". – user2246674 Oct 06 '13 at 22:39
1 Answers
0
Turn off Rocket Loader in your performance settings. The clue is right here:
"type="text/rocketscript"
damoncloudflare
- 2,079
- 13
- 9