Welcome To Snipplr
Everyone's Recent jQuery Snippets Tagged function
- All /
 - JavaScript /
 - HTML /
 - PHP /
 - CSS /
 - Ruby /
 - Objective C
 
 « Prev 1 Next »
Clear all text fields on focus based on original value with single function. The code checks for a 'title' attribute on each input with class 'text' and compares this to the current value of the field.
        
        
        
            0 
        
        
            2523 
        
                    posted 13 years ago by Huskie
            This is a jQuery custom function used for clearing the default input values of input fields without having to add a class or inline javascript like onclick or onblur. Just write your input and give it a value like you normally would and then add this...
        
        
        
            1 
        
        
            1441 
        
                    posted 14 years ago by thursday0384
            Вывод 1: ЕÑли задать функцию через jQuery.fn, то она будет работать Ñ Ñлементами найденными через функцию $(). КонтекÑÑ‚ Ñтой функции будет ÑодеÑ...
        
        
        
            0 
        
        
            1043 
        
                    posted 14 years ago by stancox
            toggle function for showing/hiding LI elements that slide up/down into the UL title box
        
        
        
            0 
        
        
            1017 
        
                    posted 14 years ago by mckewans
            Simply run the function when the document has loaded and specify setDefault to true.
        
        
        
            0 
        
        
            1149 
        
                    posted 14 years ago by digitalclubb
            This extends jQuery.is() so now you can use if ($(element).is())
        
        
        
            0 
        
        
            1083 
        
                    posted 14 years ago by digitalclubb
            Great way to check if a node exists before running a piece of code.
        
        
        
            2 
        
        
            1339 
        
                    posted 14 years ago by digitalclubb
            Select the specified option for alle html selects as jQuery.
        
        
        
            0 
        
        
            1193 
        
                    posted 15 years ago by pogosheep
            
            jQuery
        
            js javascript browser language detection, get the user\'s browser\'s language preference setting using jquery to detect users br  
        
                    JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
        
        
        
            1 
        
        
            3825 
        
                    posted 15 years ago by brandonjp
            
            jQuery
        
            JS, JQUERY : mettre une fonction en queue et  annuler l'exécution d'une fonction en queue avec queue(), dequeue(), clearQueue()  
        
                    ici on souhaite qu'une info s'affiche aux survole d'un <li> mais seulement une fois qu'un délai de 650 millisecondes est passé. Cependant si l'user ne survole plus la zone avant la fin du délai, il faut interrompre l'affichage de l'info. Voilà un...
        
        
        
            0 
        
        
            1438 
        
                    posted 15 years ago by alexandrepayet
            function as jquery plugin to test if selector is found on the current page. Sample use:
if ( $("#myID").onpage() ) { $("#myID img").click(function(){ //do this..here.. });
        
        
        
            0 
        
        
            1246 
        
                    posted 16 years ago by pixelhandler
            A way to time how long it takes to get through a certain block of code. Good way to measure performance on the page.
You could also use the built in logging functions in firebug. Not sure how they would tally up in a test.
        
        
        
            1 
        
        
            1497 
        
                    posted 16 years ago by 1man
            If you ever need to list all the internal functions of JQuery without the use of googling. You can always use the following command with firebug.
        
        
        
            1 
        
        
            1268 
        
                    posted 16 years ago by chrisjlee
            Hi, all, this is the "checkFunction" extension for jQuery.
This extension takes two parameters:
   1.  fPointer
         This parameter is the "possible" function to check
         1.1   This parameter can be a String that is a function poi...
        
        
        
            1 
        
        
            1111 
        
                    posted 16 years ago by amischol
             « Prev 1 Next »