What am I doing wrong? Im able to submit the request and get a
response, but in Firebug it says invalid label and the alert doesnt
show up.

here is my code:

      $("form").submit(function() {

              $.getJSON("http://api.nytimes.com/svc/movies/v2/reviews/
search.json?api-
key=c82338627fba39e9bcb953728fe445a2:15:57546791&callback=?", {query :
$('#query').val()}, function(data){
                                      alert(data);


              });


         return false;

       });

Reply via email to