Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with disabling a button

Status
Not open for further replies.

TPetersonFlorida

Programmer
Aug 8, 2003
76
US
I want to disable a button when this page loads and i cant seem to get it to work. Here is my code of the button:


<input name=&quot;PublicPics&quot; type=&quot;button&quot; class=&quot;homebutton&quot; value=&quot;Public Photos&quot; onclick=&quot;window.location='ViewPhotos_Public.asp'&quot;>

on the OnLoad of this page how can i disable this button??? Thanks in advance for everyones help!

 
<input [red]disabled=&quot;1&quot;[/red] name=&quot;PublicPics&quot; type=&quot;button&quot; class=&quot;homebutton&quot;
value=&quot;Public Photos&quot; onclick=&quot;window.location='ViewPhotos_Public.asp'&quot;>

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top