| 
	
 | 
 Posted by NC on 03/13/06 22:24 
Patrick Flaherty wrote: 
> 
> Experienced programmer but new to PHP.  Moreover I'm to use PHP 
> with Xoops on top (this adds object orientation?). 
> 
>   I don't seem to find a xoops Usenet group? 
 
There's a support forum: 
 
http://www.xoops.org/modules/newbb/ 
 
But I see that you already posted there... 
 
> Whatever the case (and presumably a Xoops property): how does one 
> disable (grey-out) a button? 
 
The easiest way to disable a button is not to show it in the first 
place.  This is HTML, not desktop programming; a button is either a 
submit button or a reset button.  There is no such thing as a "do 
nothing" button (unless it is defined outside a form).  You can 
override the button's default behavior using JavaScript's onClick event 
hadler, but if the client has JavaScript disabled, the default behavior 
will still occur.   
 
Cheers,  
NC
 
  
Navigation:
[Reply to this message] 
 |