RE: [PHP] <form action="?">
| From: | Chris Shiflett | Date: | Wed, 12 Nov 2003 17:17:51 +0000 |
| Subject: | RE: [PHP] <form action="?"> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169312@lists.php.net to get a copy of this message | ||
--- Wouter van Vliet <wouter@springt.nl> wrote:
> > I think you can do this with JavaScript, yes.
>
> No, Chris. For as far as I know you cannot even do this with JavaScript.
You can. I just said, "I think," to be polite. I knew the answer. :-)
Of course, as someone else pointed out, this is a terrible idea. At most,
you would want to use the onsubmit attribute to call your function, so
that those who have JavaScript disabled can still submit the form.
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp