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
7799
posted 1 year ago by cerxx
There is no need to use jQuery particularly to manipulate cookies.
0
1345
posted 1 year ago by cerxx
Here is a code that force to fire a click on iOS devices, where there is first a touchstart event
0
300
posted 1 year ago by cerxx
Use it to detect old browser, when your client still use an old browser!
0
331
posted 3 years ago by ginoplusio
IIFE - Immediately Invoked Function Expression.
http://gregfranko.com/jquery-best-practices/#/7
http://gregfranko.com/jquery-best-practices/#/8
0
248
posted 5 years ago by Waltem
Check if jquery was loaded from CDN. If not, load it from own website.
0
274
posted 6 years ago by a1ias
To check if an “enter†key is pressed inside a textbox, just bind the keypress() to the textbox.
0
352
posted 6 years ago by luhonghai
To detect copy, paste and cut behavior, you just need to bind the corresponding event type.
0
490
posted 6 years ago by luhonghai
To check if jQuery library is loaded, use the following JavaScript code
0
306
posted 6 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
283
posted 6 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
241
posted 6 years ago by pmw57
Bei Autocomplete aus größeren Datenbanken ist es sinnvoll, die Datenbankabfrage in eine separate php-Datei zu verlegen.
0
273
posted 6 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
281
posted 6 years ago by ulfinger
Please visit http://pantuts.com/2014/09/21/quicknote-jquery-plugin/ for other included files and demos. Thanks
0
292
posted 6 years ago by pantuts
Méthode n'autorisant que les nombres (positifs/négatifs/décimaux avec virgules ou points) dans un champ
0
272
posted 6 years ago by Igeco
N'autorise que les chiffres (avec , ou . ou négatifs) dans un input
0
222
posted 6 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
282
posted 6 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
204
posted 6 years ago by mountainash