Re: [Proto-Scripty] Ajax.Update back to previous page

2010-01-22 Thread bill

On 1/22/2010 7:24 AM, Noppanit wrote:

Hi everybody,

I am using Ajax.Update to change my page, like my page1 to page2. When
I click the button on page1 it goes to page2. Is there a way to go
back to page1 from page2?

I know that's this is not the way that AJAX should work, but is there
a chance to make this work?

Thank you so much.

   
You can go back to a new copy of page 1 just the same way you went to 
page 2, using Ajax.Updater.
As is noted earlier, going back to the contents of the prior div is 
really hard.


--
Bill Drescher
william {at} TechServSys {dot} com

--
You received this message because you are subscribed to the Google Groups Prototype 
 script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



Re: [Proto-Scripty] Ajax.Update back to previous page

2010-01-22 Thread Hariz Soleminio
use window.location





From: bill will...@techservsys.com
To: prototype-scriptaculous@googlegroups.com
Sent: Friday, January 22, 2010 8:19:13
Subject: Re: [Proto-Scripty] Ajax.Update back to previous page

 On 1/22/2010 7:24 AM, Noppanit wrote: 
Hi everybody,

I am using Ajax.Update to change my page, like my page1 to page2. When
I click the button on page1 it goes to page2. Is there a way to go
back to page1 from page2?

I know that's this is not the way that AJAX should work, but is there
a chance to make this work?

Thank you so much.

You can go back to a new copy of page 1 just the same
way you went to page 2, using Ajax.Updater.
As is noted earlier, going back to the contents of the prior div is
really hard.


-- 
Bill Drescher
william {at} TechServSys {dot} com
-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



  

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.