RE: Robots and Cookie problems
by Rebecca Campbell <rcampbel(at)standard.com>
|
| Date: |
Thu, 23 Sep 1999 12:46:59 -0700 |
| To: |
"'Rajnish Bhaskar'" <9705228b(at)student.gla.ac.uk>, hwg-basics(at)mail.hwg.org |
| |
todo: View
Thread,
Original
|
|
> On a related matter, using this form, can I use a button with it's type
set
> to "submit", and also set the onclick method so that the cookie setting
> function gets set at the same time as the form gets submitted,
> something like this:
> <input type="submit" value="sign" onClick="setName();">
you'll have to use:
<input type="Button" value="sign" onClick="setname()">
no semicolon needed, as far as i know. the button will look the same as
your regular submit.
one note, though, i'm using ie4.0 and if i don't capitalize the word
"Button," it doesn't work and makes me very angry. i think this only
happens, though, when i have a form.submit() in my javascript, but if you
have problems, capitalize the B. :)
-rebecca
http://www.nerdygirl.com
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.