I have the following code..
$.ajax({url:"AddItem",type:"post",timeout:3500,data:{"id":<%=regId%>,"title":t},
success:function(r){
if ($("#n").length) {
console.log('n exists');
$("#n").empty();
console.log('n emptied');
$("#n").html("test");
}
}});
for some odd reason, this works like a charm in local development mode, but
doesn't apply JQuery methods when deployed. There are no errors on the
console.
What i see when run live, is that N exists, and then the console print out.
I do not see any change to the html when emptied or when test text is added.
I'm baffled by this since my tests are ran on the same browser and the
identical code.
Anyone have any ideas?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/Oxfxu8gH208J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.