Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
luhonghai's Recent SnippetsTagged javascript
- All /
« Prev 1 Next »
To check if an “enter†key is pressed inside a textbox, just bind the keypress() to the textbox.
0
1294
posted 10 years ago by luhonghai
To detect copy, paste and cut behavior, you just need to bind the corresponding event type.
0
1692
posted 10 years ago by luhonghai
To check if jQuery library is loaded, use the following JavaScript code
0
1172
posted 10 years ago by luhonghai
JQuery is really a powerful and handy JavaScript library. The page or content loading effect is very easy to implement in jQuery. Here’s a example to make your web page content display a fade in page loading effect
0
1079
posted 10 years ago by luhonghai