Click here to Skip to main content
15,891,136 members
Articles / Programming Languages / Javascript
Alternative
Tip/Trick

OnClick of disabled textbox raise event

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
27 May 2010CPOL 6K   1  
function aa(){ alert("oye hoyee... textbox click ho gaya :) ");}
C#
<div onclick="aa()" style="cursor:z-index:8; display:block; width: 143px; height:20px; background-color: trasparent; position:absolute"></div>
   <input type="text" readonly="readonly" value="demo test">



C#
function aa()
{
    alert("oye hoyee... textbox click ho gaya :) ");
}

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Unknown
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --