Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / Javascript

OnClick of disabled textbox raise event

0.00/5 (No votes)
27 May 2010CPOL 6.1K  
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)