Re: question about post/get
On Thu, 18 Nov 2004 16:49:14 +1000, q2005 <q2005@tpg.com. au> wrote:
[snip]
[color=blue]
> 1. Why on open new window needs to return true while on _self doesn't
> need?[/color]
Neither needs to return true, so don't worry about it.
[color=blue]
> 2. Since on handle_submit() , it will change the action, is the "action="
> in the form a dummy one? Or it should have?[/color]
I should certainly hope it's only a dummy. Making a form submission
dependant upon Javascript is moronic.
[color=blue]
> 3. How can the action can be executed either on the new page or the
> original page? Does it depend on target?[/color]
Not sure what you're asking there.
Anyway, the answer to your previous question is a simple one. As I said,
look at the FAQ (<URL:http://jibbering.com/faq/>). The answer is there.
[snip]
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
On Thu, 18 Nov 2004 16:49:14 +1000, q2005 <q2005@tpg.com. au> wrote:
[snip]
[color=blue]
> 1. Why on open new window needs to return true while on _self doesn't
> need?[/color]
Neither needs to return true, so don't worry about it.
[color=blue]
> 2. Since on handle_submit() , it will change the action, is the "action="
> in the form a dummy one? Or it should have?[/color]
I should certainly hope it's only a dummy. Making a form submission
dependant upon Javascript is moronic.
[color=blue]
> 3. How can the action can be executed either on the new page or the
> original page? Does it depend on target?[/color]
Not sure what you're asking there.
Anyway, the answer to your previous question is a simple one. As I said,
look at the FAQ (<URL:http://jibbering.com/faq/>). The answer is there.
[snip]
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Comment