i want to assign dynamically the onmouseover event on textbox control.
give the solution of its
problem in assign event on textbox
Ask by sourabh kumar
Updated 11 Oct 2011
this one is also help full
<script>
document.getElementById("txtName").setAttribute("onmouseover","function1");
</script>
we assign the event for textbox control as
<script type="text/javascript"> document.getElementById("txtName").onmouseover=function1; function1() { -------- ----- }</script>
note: txtName is the id of given textbox.