Instead of having it hidden for users without javascript, why not show it
for users with javascript?  You can set the button as display:none; but have
a javascript onload event that will change the display to inline. Therefore,
if the user does not have javascript it will stay as none.  Just a
thought...

Jough

> -----Original Message-----
> From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED]
> On Behalf Of Bruce Morrison
> Sent: Tuesday, August 01, 2006 6:37 PM
> To: wsg@webstandardsgroup.org
> Subject: [WSG] Hiding form buttons that are not required when javascript
> is on
> 
> Hi all
> 
> I've built a form that when a user selects a value from a select element
> a javascript event is triggered and a secondary select is populated.
> 
> To accommodate users without javascript there is a submit button
> adjacent to the first select that allows for the form to be submitted
> and the secondary select to be populated via server scripts.
> 
> The form looks something like this:
>         ______________   __________
> Label 1 |select  1 |v|  | submit 1 |
>         --------------   ----------
>         ______________   _____________
> Label 2 |select  2 |v|  | submit form |
>         --------------   -------------
> 
> This form was usability tested and it was recommended that the submit 1
> button (for users without javascript) should be removed/hidden.  Easy
> enough to do with javascript.
> 
> Curious to know the thoughts of the group on this one.
> 
> Cheers
> Bruce
> --
> Bruce Morrison
> Solution Architect
> 
> designIT Pty Ltd
> Website Content Management Specialists
> 
> 
> 
> 
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************




******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to