ajax problem: "Object Expected" error when submitting form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • monudjn
    New Member
    • Oct 2006
    • 1

    ajax problem: "Object Expected" error when submitting form

    Hi I am implementing ajax in portal. Using ajax i am able to updating the content of portlets asynchronously. However i am facing a problem
    The Problem: While submitting the form i am getting javascript error " Object expected". These errors i am getting after implementing ajax. Also this error is shown only the first time i trying to submit. Next time this error won't come.
    This may be because the ajax update the content dynamically and if u try to view the html source code u will not find the required code . But after the first click it will reload the page and source code is available so no error..

    I will be happy if somebody could help to tackle this situation

    regards
    monu
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Not possible to really say without seeing code, but what I can say is that this is an IE error message. Use a good error console/debugger, e.g. Firefox with the Firebug and you will more useful error messages.

    Comment

    Working...