Hello,

i try to use the $.getJSON function to get some JSON data from my php
file. The actual code looks like this:

function loadArticle(id) {
    $.getJSON("../admin/article.php", { mode:"get", id: id },
        function(json){
          if(console) console.log(json);
          else alert(json);
         
          injectIntoForm(json);
        }
});


But when i try to run the code i get "$.getJSON is not a function", does
i need a plugin to run this function ?

at the moment i'm just using jQuery 1.0.1.


thanks in advance

best regards,
Truppe Steven

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to