Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
 - JavaScript /
 - HTML /
 - PHP /
 - CSS /
 - Ruby /
 - Objective C
 
Split a single phone number input field into 3 small input fields and create an hidden field for validation and keep server side variable name.
        
        
        
            0 
        
        
            1443 
        
                    posted 14 years ago by touffies
            Hello,
I have been developing with jQuery for just over a year now, I thought I would share something with you that I have found pretty time saving over the past few months.
If you have ever had javascript conflicts due to several different jav...
        
        
        
            2 
        
        
            1151 
        
                    posted 14 years ago by mike-tempest
            This is a cut down example using custom tabs (you can easily add a custom ajax event to load in content - just follow Ben Alman's example).
        
        
        
            0 
        
        
            1566 
        
                    posted 14 years ago by Meander365
            Snippet for adding to your functions.php file to enqueue jQuery.
        
        
        
            1 
        
        
            1080 
        
                    posted 14 years ago by oriontimbers
            Method for setting maximum on JQuery tools rangeinput slider. Add this method to RangeInput $.extend with the other get/set methods.
        
        
        
            1 
        
        
            1014 
        
                    posted 15 years ago by dmertl
            When injecting via jQuery HTML content which contains script tags referencing external scripts, which are then referenced via scripting elsewhere in the injected HTML, some browsers (Chrome) will not wait for the external scripts to load causing the...
        
        
        
            2 
        
        
            1968 
        
                    posted 15 years ago by harikaram
            This jQuery code should make all external links from the #content div open in a new window.
        
        
        
            1 
        
        
            1330 
        
                    posted 15 years ago by nonsalant
            This is a simple little content fader I created using jQuery. It is very simple and not browser intensive. It utilizes callback functions on the fadeOut to execute the fadeIn of the next content block. To reference the HTML src that goes a long with...
        
        
        
            2 
        
        
            1019 
        
                    posted 15 years ago by chrislorenz
            Nice jquery script to check if a file exists, written by ambitionlab
        
        
        
            3 
        
        
            1772 
        
                    posted 15 years ago by thefricky
            More info on SO: http://stackoverflow.com/questions/4061489/jquery-duplicate-field-input-text-in-real-time
        
        
        
            1 
        
        
            1566 
        
                    posted 15 years ago by logic-unit
            A jQuery plugin that adds the .spiral() method, wich moves an element along an archimedean spiral path.
        
        
        
            3 
        
        
            2047 
        
                    posted 15 years ago by claudiowebdesign
            if window.jQuery is undefined, there must have been a problem downloading the script from the CDN. In that case, proceed to the right side of the && operator, and insert a script linking to a local version of jQuery.
        
        
        
            1 
        
        
            1035 
        
                    posted 15 years ago by touffies
            if window.jQuery is undefined, there must have been a problem downloading the script from the CDN. In that case, proceed to the right side of the && operator, and insert a script linking to a local version of jQuery.
        
        
        
            1 
        
        
            990 
        
                    posted 15 years ago by Deej
            Useful snippet i found on a forum, use it to check to see if a user is old enough to submit a form.
        
        
        
            2 
        
        
            1868 
        
                    posted 15 years ago by 1man
            This javascripts stops you from clicking on a nav link when there's a submenu below it, and it adds a class of "noclick" to the link, which you can use with CSS to change the cursor and background colour etc.
.menu a.noclick:hover {cursor:default;}...
        
        
        
            2 
        
        
            1046 
        
                    posted 15 years ago by kristarella
            This is a two file video player. I use JSON to get the list of videos from a user, then when a thumbnail is clicked, an AJAX request is sent with the id of the video, and an oEmbed response is sent back.
        
        
        
            4 
        
        
            1324 
        
                    posted 15 years ago by mloberg