Profile
Achievement

luhonghai's Recent Snippets
- All /
« Prev 1 Next »
To check if an “enter†key is pressed inside a textbox, just bind the keypress() to the textbox.
0
1332
posted 10 years ago by luhonghai
To detect copy, paste and cut behavior, you just need to bind the corresponding event type.
0
1736
posted 10 years ago by luhonghai
To check if jQuery library is loaded, use the following JavaScript code
0
1196
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
1102
posted 10 years ago by luhonghai
In JSF 2.0, you can use <h:outputStylesheet> output a css file
0
1093
posted 10 years ago by luhonghai
Removes an item from the page, without affecting page flow or causing scrollbars. Much better than display: none; or even visibility: hidden;
0
1080
posted 10 years ago by luhonghai