I implemented a simple dialog form using JQuery on GAE. It works perfectly on my local machine but when I upload to app engine, the response function never fires. Is this a restriction on app engine, or am I doing something wrong?
$("span.competing").click(function() {
$.get("jsonBands.jsp", {
bandId: $(this).attr("id")
}, function(data) { // <---- this never fires
$("#bandNamePopUp").html(data.bandName);
$("#bandInfoPopUp").html(data.bandBio);
$("#bandPicturePopUp").attr("src", data.image);
$("#band-summary-dialog").dialog("open");
}, "json");
});
I tried to debug with firebug. I put a break point at the same line as my comment. On the local host the breakpoint hits and stops. On the live app the break point never hits.
Re-posted from my comment:
It’s generally unlikely that your Javascript itself would stop working when moving into production, since it’s always run client-side 😉
This was the only noticeable possible point of failure that I saw in your code sample.