ASP.Net Ajax TextBox Enter Key Click Go to server
I have a textbox i need to go to the server when Enter Key is clicked with ajax to update a label开发者_JS百科 on the page
if you call a javascript function something along the lines of
<script language="javascript" type="text/javascript">
function HandleKeyPress(sender, eventArgs)
{
if (eventArgs.get_domEvent().keyCode == 13)
{
b//call method here to do what you want on enter button press
}
}
this may help you on the way to finding what you want to do
精彩评论