Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged js



« Prev 1 Next »
obviously one can access HTML5's data attribute super easy in jQuery
0 1392 posted 13 years ago by iroybot
Another approach that helps saving the overhead calls of the scroll event and the subsequent code.
0 2293 posted 13 years ago by Narayon
Assumes that you have got a #mainnav around your menu. Works nicely with wp_nav_menu inside.
0 2118 posted 14 years ago by telltec
0 997 posted 14 years ago by pavlovt
5 1471 posted 14 years ago by vestimir
When injecting via jQuery HTML content which contains script tags referencing external scripts, which are then referenced via scripting elsewhere in the injected HTML, some browsers (Chrome) will not wait for the external scripts to load causing the...
2 1955 posted 14 years ago by harikaram
Alternative for "return false;" stopPropagation(); prevents for bubbling up the dom preventDefault(); prevents the browser from performing the default action
1 1420 posted 15 years ago by dkl3in
0 951 posted 15 years ago by dkl3in
Display a default value in a text field that disappears on focus and reappears on blur **if** the field is blank.
0 876 posted 15 years ago by prsjohnny
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1 3809 posted 15 years ago by brandonjp
0 1146 posted 15 years ago by Mosaic
$('#myTable').find('.firstColumn').makeRed().append('hello');  
1 1011 posted 15 years ago by dvdrtrgn
Text beim tippen wo anders anzeigen
1 1075 posted 16 years ago by skrippendorf
« Prev 1 Next »