Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Tag	        Description
    total	total pages for the query
    page	current page of the query
    records	total number of records for the query
    rows	an array that contains the actual data
    id	        the unique id of the row
    cell	an...
        
        
        
            0 
        
        
            774 
        
                    posted 15 years ago by elijahmanor
            each in Array,It can operate each element in Array.
e.g.
var result = [1,2,3,4].each(function(x){return Math.sqrt(x);});
//it return sqrt in [1,2,3,4]'s each item
        
        
        
            0 
        
        
            836 
        
                    posted 15 years ago by hand4ever
            The AJAX Libraries API is a content distribution network and loading architecture for the most popular, open source JavaScript libraries.
        
        
        
            1 
        
        
            1210 
        
                    posted 15 years ago by jonkemp
            The Location object is part of a Window object and is accessed through the window.location property. It contains the complete URL of a given Window object, or, if none is specified, of the current Window object.
        
        
        
            0 
        
        
            1025 
        
                    posted 15 years ago by jonkemp
            Although $(document).ready is incredibly useful, it occurs during page render while objects are still downloading. You can reduce CPU utilization during the page load by binding your jQuery functions to the $(window).load event, which occurs after al...
        
        
        
            2 
        
        
            1041 
        
                    posted 15 years ago by jonkemp
            Use chaining in jQuery to reduce the code size and gain better performance.
        
        
        
            0 
        
        
            1034 
        
                    posted 15 years ago by jonkemp
            Hey,
I just thought I would share something I made that I tested in IE6, IE8, Firefox 3.6, and Chrome 4.  It allows you to resize a client-side image map based on the size of the image, so when your image resizes, your map still works how you want...
        
        
        
            0 
        
        
            1229 
        
                    posted 15 years ago by xtknight
            
            JavaScript
        
            Advanced use of jQuery cookie plugin to show/hide a notice, includes changing the HTML text of the link  
        
                    
        
        
        
            0 
        
        
            1804 
        
                    posted 15 years ago by phil7085
            
via [http://mir.aculo.us/2010/06/04/making-an-ipad-html5-app-making-it-really-fast/](http://mir.aculo.us/2010/06/04/making-an-ipad-html5-app-making-it-really-fast/)
for CSS3 Transitions, Transforms, Animation also see:
[http://css3.bradshawenterp...
        
        
        
            0 
        
        
            1084 
        
                    posted 15 years ago by cfleschhut
            
