« Previous Next »

Thread: Ajax calls not working - no errors indicated

Last post 06-10-2009 1:58 AM by LesterDK. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 06-04-2009, 5:08 AM

    Ajax calls not working - no errors indicated

    Hi,

    I have migrated to 2008 Server and IIS7, but still using classic ASP and figured out most of my previous problems.

    Know a page using ajax to update a form basen on criteria simply does not trigger. According to firebug (firefox) the page gets called at least once, but no change occur to the form fields. And no js errors seen either. This is the same for IE8.

    Nothing to see in the event log, and checked out the features installed to see if ajax support needs to be enabled somewhere, but nothing...

    Any hints would be appreciated.

    IIS6 - IIS6 sample working form with ajax, changing "mærke" will load model according to change made.

    IIS7 - IIS7 sample same code not working with IIS7.

  • 06-09-2009, 10:41 PM In reply to

    Re: Ajax calls not working - no errors indicated

    Hi,

    It seems both the two samples work properly now. Ajax script is executed in the client side , this issue is mostly relative to client side. Could you share your solution here?

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 06-10-2009, 1:58 AM In reply to

    Re: Ajax calls not working - no errors indicated

     Ahh, forgot to close the thread here. And yes, it does work now.

    The issue was related to the window.onload event, that would not trigger correctly, hence no javascript error since the scripts were never invoked.

    The solution was to check jquery.ready event instead and firing the scripts as needed.

Page 1 of 1 (3 items)