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
26359
posted 5 years ago by cerxx
There is no need to use jQuery particularly to manipulate cookies.
0
5971
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
1256
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
950
posted 9 years ago by Waltem
Check if jquery was loaded from CDN. If not, load it from own website.
0
1031
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
1233
posted 9 years ago by luhonghai
To detect copy, paste and cut behavior, you just need to bind the corresponding event type.
0
1634
posted 9 years ago by luhonghai
To check if jQuery library is loaded, use the following JavaScript code
0
1115
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
1025
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
941
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
963
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
1040
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
1009
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
1024
posted 10 years ago by Igeco
N'autorise que les chiffres (avec , ou . ou négatifs) dans un input
0
961
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
1096
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
830
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
846
posted 10 years ago by buda9