View Single Post
Old 11-11-2009, 04:18 PM   PM User | #4
kmatheny
New to the CF scene

 
Join Date: Nov 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
kmatheny is an unknown quantity at this point
I've updated my PHP file to include "application/json" headers, and I'm getting a JSON response back, but it just refuses to trigger a Success or Complete action- not to mention it won't store the object as a variable.

PLEASE HELP! I've got less than 2 weeks to make this work or my project is going to be in some serious trouble. You can copy and paste this code directly and see what I'm talking about (using Firebug you can see the JSON response.)

Code:
var dummyVar = $.ajax({
      type: "GET",
      dataType: "jsonp",
      url: "http://www.kylematheny.com/siteground.php?callback=?",
      success: function() {
          alert('Success!');
      },
      complete: function() {
          alert('Completed.');
      }
  });
kmatheny is offline   Reply With Quote