.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Using Javascript display the result when tab enter in textbox

Posted By: Catherine     Posted Date: April 18, 2011    Points:5   Category :VB.Net
Using javascript when employee id enter in textbox after giving tab the employee details should display in the corresponding textboxs. please tell in detail

Responses
Author: Mahesh             
Posted Date: April 18, 2011     Points: 20   

hi,
you can use onblur() event of textbox as,

<html>
<head>
<script type="text/javascript">
function OnBlurInput(input) {
alert(input.value);
}
</script>
</head>
<body>
When the following input field has the focus its text color will be red.
Click into the input field!
<br /><br />
<input type="text" onblur="OnBlurInput(this)" value=""/>
</body>
</html>

Author: Srikanth             
Posted Date: April 25, 2011     Points: 20   

You need to handle text box onBlur() event in order to achieve your functionality. This will fire soon after your control jumps from one text box to another text box.

Thanks and Regards,

Radha Srikanth


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend