Louise Olson Re: graphical submit button & javascript
Jul 05, 2003; 16:26
Louise Olson
Re: graphical submit button & javascript
> >> If a form uses graphical submit & reset buttons, do they fail if the visitor >> has javascript turned off? > >Louise, I'm no JS expert, but here's some info that may shed light on your >issue: > >When I've used images as submit buttons, I've not used any JS to activate >them. I've simply used code like the following: ><input name="submit" type="image" src="yourimage.gif" width="xx" height="xx" >border="0" alt="submit form">
Thank you, Patrick. I did try this... and virtually the same thing by using the "Insert Form Objects ->Image Field" as described in the DW manual/help. However, it doesn't seem to work for the "Reset" button and I did want the buttons to be the same. DW manual says behaviors must be used with graphical buttons used for anything other than Submit.
> >This works for me. There's no JS involved, so it doesn't matter if it's >turned off. You'll also note that there's no <a href>. I think the key is >the <name="submit"> bit. > >Now, you're using JS but I don't know if it's necessary if you use the above >code. Are you using the onclick behavior for validation?
The script for the "Form Button Fever" does specify onclick to execute it's script which calls for the appropriate form action. Since it works for me and some other people (most, I imagine), they must fail without Javascript working correctly or turned off in the visitor's browser.
If someone who knows Javascript sees something wrong with the little script that could be causing isolated problems, I'd love to hear about it. Also if anyone knows a way to use a graphical button for a function other than "submit" without using javascript, that would solve the problem altogether. The link again is -- http://www.worldclasscoaches.com/register.html
Thanks.
############################################################# Archives:<http://www.listsearch.com/DreamweaverTalk.lasso> This message is sent to you because you are subscribed to the mailing list <dreamweaver@lists.blueworld.com>. To unsubscribe, E-mail to: <dreamweaver-off@lists.blueworld.com> To switch to the DIGEST mode, E-mail to <dreamweaver-digest@lists.blueworld.com> To switch to the INDEX mode, E-mail to <dreamweaver-index@lists.blueworld.com> Send administrative queries to <dreamweaver-admin@lists.blueworld.com>
Jul 06
Jordan L. Chilcott - Dreamweaver Talk List Admin Re: graphical submit button & javascript
Jul 06, 2003; 06:58
Jordan L. Chilcott - Dreamweaver Talk List Admin
Re: graphical submit button & javascript
Jul 06
Patrick Hackshaw Re: graphical submit button & javascript
Jul 06, 2003; 08:33
Patrick Hackshaw
Re: graphical submit button & javascript
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!