This may have an issue to do with the loading order.  The dev server
is single threaded, so everything is loaded sequentially.  Production
is not.  Does your code wait for everything to be loaded?

Also, this probably isn't really an App Engine specific question.


Robert




On Thu, Sep 1, 2011 at 11:18, IlyaE <[email protected]> wrote:
> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
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.

Reply via email to