Keydown Event using JQUERY

When we press a key the keydown event occurs.
This event is triggered for all the keys

Here is the syntax
$("element").keydown(function(){
.....
})
Code to trigger Keydown event .

<script>
$(document).ready(function() {
$(document).keydown(function(){
alert('hi');
});
})
</script>
Your Rating




Post your comments , suggestion , error , requirements etc here .







Most Popular JQuery Scripts

1

Two dependant list boxes

2

Calendar with Date Selection

3

Data change by Slider

4

Show & Hide element
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2019 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer