i want to assign dynamically the onmouseover event on textbox control.
give the solution of its
problem in assign event on textbox
2547
01-Mar-2011
Updated on 11-Oct-2011
Amit Singh
11-Oct-2011this one is also help full
<script>
document.getElementById("txtName").setAttribute("onmouseover","function1");
</script>
Amit Singh
01-Mar-2011we 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.