Click here to Skip to main content
15,915,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai

In my project i am having two textboxes.
When i entered something at last enter key or (.) dot key is pressed.
How can i write a code
After pressing dot or enter another textbox should be visible.






Regards
Posted
Comments
Can you explain a little bit more ?
Let me tell what I have understood.
You have two textboxes. You enter some text in first textbox and at the end of the text you are entering enter key or (.) dot. Then you want that the other textbox should get visible. Is this correct ?

1 solution

Hi

You can write the keypressdown event for the first text box .

Thanks
Mohan

XML
<asp:TextBox ID="txt1" runat="server" onkeypress="KeyDown()">
</asp:TextBox>
function KeyDown()
{

}
 
Share this answer
 
v2

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