Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want code for TextChange event of textbox by using Javascript

My requriment is when i insert anything in textbox that dat will be stored in database
but i want that that textchange event calls in javascript
Posted

 
Share this answer
 
C#
<script type="text/javascript" language="javascript">
   function myfunction()
  {
  alert('Its TextChange Event');
  }
  </script>


C#
<asp:textbox id="TextBox1" runat="server" onchange="myfunction()" xmlns:asp="#unknown"></asp:textbox>
 
Share this answer
 
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900