Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged jquery



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

    Add IE interenet explorer class name to body

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

    change value of button with jquery

    change <span> value of button with jquery
    jQuery 5 views posted 4 years ago by envane21
  3. 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 6 views posted 4 years ago by Waltem
  4. FAV

    Best Jquery Declaration

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

    php + jquery chat

    durr
    jQuery 4 views posted 4 years ago by olesla
  6. FAV

    simple custom checkboxes

    This is a simple way to make custom checkboxes in jQuery.
    jQuery 3 views posted 4 years ago by del4y
  7. 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 1 views posted 5 years ago by devstori
  8. 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 3 views posted 5 years ago by luhonghai
  9. 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 4 views posted 5 years ago by luhonghai
  10. FAV

    Check if jQuery library is loaded

    To check if jQuery library is loaded, use the following JavaScript code
    jQuery 0 views posted 5 years ago by luhonghai
  11. 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 0 views posted 5 years ago by luhonghai
  12. 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 3 views posted 5 years ago by pmw57
  13. 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 4 views posted 5 years ago by ulfinger
  14. FAV

    QuickNote jQuery Plugin

    Please visit http://pantuts.com/2014/09/21/quicknote-jquery-plugin/ for other included files and demos. Thanks
    jQuery 5 views posted 5 years ago by pantuts
  15. 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 3 views posted 5 years ago by Igeco
  16. FAV

    Only Numbers In An Input

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

    Apply font-family using jQuery

    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"
    jQuery 2 views posted 5 years ago by buda9
  18. FAV

    Cascade Data Load by jQuery AJAX

    /* author : MD. MUZAHIDUL ISLAM ([email protected]) * file name : cascade-load.js * This segment of code uses jQuery(jquery-1.7.2.js) that helps to load cascade data from sever. * To use this code, 'div' element should contains a 'select' h...
    jQuery 5 views posted 5 years ago by muzahidict
  19. FAV

    Show Banner on top after scroll begins

    Slides in a banner-header after some pixels of scrolling.
    jQuery 5 views posted 6 years ago by mountbatt
  20. FAV

    jQuery element opacity fade in over time (without fadeIn();)

    A quick demonstration of fading an element in over a set time by starting opacity at 0 and incrementing it + .1 over time.
    jQuery 1 views posted 6 years ago by winthropite
  21. FAV

    US Phone number validation - Jquery

    Validating phone number using jquery
    jQuery 4 views posted 6 years ago by satinfo30
  22. FAV

    JS:jQuery Get all nodes, including orphaned text

    Reads all the nodes of the object, including orphaned text that's not wrapped into any tag as well as empty text nodes
    jQuery 5 views posted 6 years ago by makbeta
  23. FAV

    Form tracking with JS and Google Analytics

    Track user interactions with html forms
    jQuery saved by 2 people 7 views posted 6 years ago by nicom
  24. FAV

    jQuery fontResize

    jQuery 5 views posted 6 years ago by MistaTwista
  25. FAV

    Fixed Floated Elements

    Creating fixed floated comment's box on right side
    jQuery 4 views posted 6 years ago by maddev-
  26. FAV

    Select generator for LinkedIn Industries

    You can run this in firebug to get yourself an up to date select with all the Industries listed on this page. http://developer.linkedin.com/documents/industry-codes
    jQuery 1 views posted 6 years ago by hcker2000
  27. FAV

    Use jQuery/CSS to find the tallest of all elements - Stack Overflow

    $(document).ready(function() { var maxHeight = -1; $('.features').each(function() { maxHeight = maxHeight > $(this).height() ? maxHeight : $(this).height(); }); $('.features').each(function() { $(this).height(maxHeight...
    jQuery saved by 1 person 4 views posted 6 years ago by thesmu
  28. FAV

    Hide/Show text using jQuery

    A little snippet that I use to hide or show text using jquery
    jQuery saved by 3 people 9 views posted 6 years ago by TwistedEinstein
  29. FAV

    Multiline Text Overflow

    Simple function to include in your script to enable multi-line text-overflow. See the jsfiddle (http://jsfiddle.net/eAyyL/) for details on the necessary CSS and HTML layout.
    jQuery 2 views posted 6 years ago by JoshChris
  30. FAV

    Pick a random element with jQuery

    A simple way of displaying a random list item. Could be used to randomly display anything. Demo: jsfiddle.net/uRd6N/ (keep clicking run)
    jQuery 0 views posted 6 years ago by i-am-andy
« Prev 1 2 3 4 5 ... 25