Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



« Prev 1 2 3 4 5 ... 44
  1. FAV

    Drop-down menu does not work on mobile devices

    It works for me
    JavaScript 151 views posted 5 months ago by cerxx
  2. FAV

    JQuery - how to wait for the \"end\" of the \"resize\" event and only then perform the action?

    The resizeend event. It works for me
    JavaScript 148 views posted 5 months ago by cerxx
  3. FAV

    How do I set/unset a cookie with JavaScript

    There is no need to use jQuery particularly to manipulate cookies.
    JavaScript 156 views posted 5 months ago by cerxx
  4. FAV

    Get User IP By jQuery Ajax

    Get User IP By jQuery Ajax
    JavaScript 156 views posted 5 months ago by cerxx
  5. FAV

    Click on iOs and Android

    Here is a code that force to fire a click on iOS devices, where there is first a touchstart event
    JavaScript 17 views posted 6 months ago by cerxx
  6. FAV

    Add IE interenet explorer class name to body

    Use it to detect old browser, when your client still use an old browser!
    jQuery 17 views posted 2 years ago by ginoplusio
  7. FAV

    change value of button with jquery

    change <span> value of button with jquery
    jQuery 13 views posted 4 years ago by envane21
  8. FAV

    jQuery, how to start

    IIFE - Immediately Invoked Function Expression. http://gregfranko.com/jquery-best-practices/#/7 http://gregfranko.com/jquery-best-practices/#/8
    jQuery 16 views posted 4 years ago by Waltem
  9. FAV

    Best Jquery Declaration

    JQUERY READY EVENT BEST PRACTICE
    jQuery 10 views posted 4 years ago by SmellWing
  10. FAV

    php + jquery chat

    durr
    jQuery 15 views posted 4 years ago by olesla
  11. FAV

    Load own jquery files on YII framework

    Override yii's jquery files and load your own.
    PHP 13 views posted 4 years ago by federaik_
  12. FAV

    simple custom checkboxes

    This is a simple way to make custom checkboxes in jQuery.
    jQuery 13 views posted 4 years ago by del4y
  13. FAV

    Check if jquery was loaded from CDN

    Check if jquery was loaded from CDN. If not, load it from own website.
    JavaScript 15 views posted 5 years ago by a1ias
  14. FAV

    jQuery: Check if the zip code is in an array of zips

    Check if the user input zip code is in an array.
    jQuery 16 views posted 5 years ago by devstori
  15. FAV

    Check if an Enter Key Is Pressed With jQuery

    To check if an “enter” key is pressed inside a textbox, just bind the keypress() to the textbox.
    jQuery 10 views posted 5 years ago by luhonghai
  16. FAV

    Detect Copy, Paste and Cut Behavior With jQuery

    To detect copy, paste and cut behavior, you just need to bind the corresponding event type.
    jQuery 20 views posted 5 years ago by luhonghai
  17. FAV

    Check if jQuery library is loaded

    To check if jQuery library is loaded, use the following JavaScript code
    jQuery 14 views posted 5 years ago by luhonghai
  18. FAV

    Page Loading Effects With jQuery

    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
    jQuery 12 views posted 5 years ago by luhonghai
  19. FAV

    jQuery hook for separation of concerns

    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...
    jQuery 10 views posted 5 years ago by pmw57
  20. FAV

    jQuery UI autocomplete mit JSON und externer php-Seite als Quelle

    Bei Autocomplete aus größeren Datenbanken ist es sinnvoll, die Datenbankabfrage in eine separate php-Datei zu verlegen.
    PHP 14 views posted 5 years ago by ulfinger
  21. FAV

    jQuery UI input autocomplete mit Datenbank

    Mit dem php-Script innerhalb der Seite wird aus der SQL-Datenbank ein Javascript-Array zusammengestellt. Darauf greift das autocomplete-Widget zu.
    jQuery 15 views posted 5 years ago by ulfinger
  22. FAV

    Codeigniter-autocomplete-customjs

    codeigniter autocomplete
    PHP 12 views posted 5 years ago by shivrajgoa
  23. FAV

    Codeigniter-autocomplete-view

    codeigniter autocomplete
    PHP 13 views posted 5 years ago by shivrajgoa
  24. FAV

    Codeigniter-autocomplete-model

    codeigniter autocomplete
    PHP 11 views posted 5 years ago by shivrajgoa
  25. FAV

    Codeigniter-autocomplete-controller

    codeigniter autocomplete
    PHP 15 views posted 5 years ago by shivrajgoa
  26. FAV

    QuickNote jQuery Plugin

    Please visit http://pantuts.com/2014/09/21/quicknote-jquery-plugin/ for other included files and demos. Thanks
    jQuery 12 views posted 5 years ago by pantuts
  27. FAV

    Numbers only in an input field

    Méthode n'autorisant que les nombres (positifs/négatifs/décimaux avec virgules ou points) dans un champ
    jQuery 13 views posted 5 years ago by Igeco
  28. FAV

    Only Numbers In An Input

    N'autorise que les chiffres (avec , ou . ou négatifs) dans un input
    jQuery 13 views posted 5 years ago by sebabarre
  29. FAV

    simple table filter with jquery

    have to change this snippet in order to hide filtered rows. Not tried out yet, but works fine in the jsfiddle
    JavaScript 15 views posted 5 years ago by bboydflo
  30. FAV

    Die ClickDesk Die!

    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...
    JavaScript 8 views posted 5 years ago by mountainash
« Prev 1 2 3 4 5 ... 44