--- On Mon, 7/28/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
> well I don't understand what is the problem, I use ajax
> for my first form, but not to second which should redirect?

...

Not reloading the entire page is one of the main points of Ajax.

If you want to reload the entire page (like with a redirect) and you're not 
handling that yourself in JavaScript I don't really see the point (in general; 
there are exceptions).

You may want to read up on Ajax fundamentals; JJG's article is one of the more 
popular ones, even though people have been doing it for a decade+ now.

http://www.adaptivepath.com/ideas/essays/archives/000385.php

The Wikipedia article gives a shorter, higher-level overview. The second 
sentence may be informative:

"With Ajax, web applications can retrieve data from the server asynchronously 
in the background without interfering with the display and behavior of the 
existing page."

http://en.wikipedia.org/wiki/AJAX

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to