Disable linkbutton via javascript - how?

J

James Radke

Hello,

Is it possible to disable a linkbutton via client-side javascript? If so,
how?

Thanks!

Jim
 
M

Mike Moore [MSFT]

Hi Jim,

Please try the following.
<script>
document.all("LinkButton1").disabled = true;
</script>

Thank you, Mike
Microsoft, ASP.NET Support Professional

Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security.

This posting is provided "AS IS", with no warranties, and confers no rights.


--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top