Detectar tecla ENTER
<!– Codigo JQuery –>
$(”input#txtKardex”).keypress(function(event)
{
if ( event.keyCode == 13 )
{
//Codigo Propio
}
});
<!– Codigo HTML –>
<input id=”txtKardex” />
<!– Codigo JQuery –>
$(”input#txtKardex”).keypress(function(event)
{
if ( event.keyCode == 13 )
{
//Codigo Propio
}
});
<!– Codigo HTML –>
<input id=”txtKardex” />
The URI to TrackBack this entry is: http://necudeco.blogsome.com/2006/11/27/detectar-tecla-enter/trackback/
RSS feed for comments on this post.
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Get free blog up and running in minutes with Blogsome
Theme designed by B A Khan
oye estuve buscando este código por mucho tiempo, no conoces alguna pagina que tenga más codigos jQuery?
Comment by gcm — June 25, 2007 @ 9:26 pm