• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AjaxUpdateContainer reloading the whole page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxUpdateContainer reloading the whole page


  • Subject: Re: AjaxUpdateContainer reloading the whole page
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 5 Nov 2008 07:19:20 -0500

Using the AjaxUpdateLink was used in the examples as well and the page wasn't reloaded.
It was used in that particular example because it was not submitting a form, and the page wasn't reloaded because it did not have an onclick that did a full page reload. Think about what your code is doing here. onclick is called by javascript when you press the link, and you're doing a form submit. A form submit is not a background operation. You're literally just tossing the ajax operation out the window and then submitting the form -- your onclick is overriding exactly the point of AjaxUpdateLink and doing a completely different non-ajax operation instead.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >AjaxUpdateContainer reloading the whole page (From: Gustavo Pizano <email@hidden>)
 >Re: AjaxUpdateContainer reloading the whole page (From: Mike Schrag <email@hidden>)
 >Re: AjaxUpdateContainer reloading the whole page (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: Re: AjaxUpdateContainer reloading the whole page
  • Next by Date: Re: WOLips new hotness and resources
  • Previous by thread: Re: AjaxUpdateContainer reloading the whole page
  • Next by thread: WOLongResponsePage & Server is not responding Error
  • Index(es):
    • Date
    • Thread