Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 15 Dec 2005 15:19:37 -0000,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


object disable propertie   
How can I make (in pure Java Script) a html button appear, but disabled ?
I've tried this :
   - object.style.visibility='visible'
   - object.style.disabled=True
and it did'nt worked, the button appeared but enabled.

What's the object's property and it's sintaxe for disabling ?

Thank's in advance, NM
date: Thu, 15 Dec 2005 15:19:37 -0000   author:   Nuno Machado

Re: object disable propertie   
Nuno Machado  wrote:
> How can I make (in pure Java Script) a html button appear, but
> disabled ? I've tried this :
>   - object.style.visibility='visible'
>   - object.style.disabled=True
> and it did'nt worked, the button appeared but enabled.

object.disabled = true
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925
date: Thu, 15 Dec 2005 10:27:23 -0500   author:   Igor Tandetnik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us