Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
JavaScript
JQuery - how to wait for the \"end\" of the \"resize\" event and only then perform the action?
The resizeend event.
It works for me
0
26414
posted 5 years ago by cerxx
There is no need to use jQuery particularly to manipulate cookies.
0
5996
posted 5 years ago by cerxx
Here is a code that force to fire a click on iOS devices, where there is first a touchstart event
0
1266
posted 5 years ago by cerxx
IIFE - Immediately Invoked Function Expression.
http://gregfranko.com/jquery-best-practices/#/7
http://gregfranko.com/jquery-best-practices/#/8
0
961
posted 9 years ago by Waltem
Check if jquery was loaded from CDN. If not, load it from own website.
0
1041
posted 9 years ago by a1ias
To check if an “enter†key is pressed inside a textbox, just bind the keypress() to the textbox.
0
1245
posted 9 years ago by luhonghai
To detect copy, paste and cut behavior, you just need to bind the corresponding event type.
0
1642
posted 9 years ago by luhonghai
To check if jQuery library is loaded, use the following JavaScript code
0
1124
posted 9 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
1035
posted 9 years ago by luhonghai
The purpose of this hook method is to help provide a separation of concerns between CSS and JavaScript.
Typically class names are used to attach JavaScript to HTML elements. Using a separate data-hook attribute helps to protect the scripting from...
0
955
posted 9 years ago by pmw57
Bei Autocomplete aus größeren Datenbanken ist es sinnvoll, die Datenbankabfrage in eine separate php-Datei zu verlegen.
0
973
posted 9 years ago by ulfinger
Mit dem php-Script innerhalb der Seite wird aus der SQL-Datenbank ein Javascript-Array zusammengestellt. Darauf greift das autocomplete-Widget zu.
0
1056
posted 9 years ago by ulfinger
Please visit http://pantuts.com/2014/09/21/quicknote-jquery-plugin/ for other included files and demos. Thanks
0
1021
posted 10 years ago by pantuts
Méthode n'autorisant que les nombres (positifs/négatifs/décimaux avec virgules ou points) dans un champ
0
1036
posted 10 years ago by Igeco
N'autorise que les chiffres (avec , ou . ou négatifs) dans un input
0
972
posted 10 years ago by sebabarre
have to change this snippet in order to hide filtered rows. Not tried out yet, but works fine in the jsfiddle
0
1111
posted 10 years ago by bboydflo
ClickDesk's website chat JavaScript API is very basic, it only allows for a few customisations, but no event control. And with a last of whitelist/blacklist URL restriction functionality on a large site their code is often in the template. I created...
0
851
posted 10 years ago by mountainash
As you can see you need to add backslash and apostrophe => \' to font family with space between. If there isn't spaces in font name just use double apostrophes, e.g. "Lucida Grande"
0
855
posted 10 years ago by buda9