getJSON does nothing although jQuery is included
-
I have trouble with
wp_enqueue_script('jquery');
and$.getJSON("http://localhost/wp-content/plugins/test/word2json.php", {wordid:2260}, function(json){ alert("JSON Data:"); });
My code works fine if I don’t use jQuery from my WordPress installation. What happens?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘getJSON does nothing although jQuery is included’ is closed to new replies.