Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
(I did not write this, but I forgot where I got it.)
This code will find all the variables passed though the URL and return the one you are looking for.
        
        
        
            0 
        
        
            1142 
        
                    posted 13 years ago by sicbot
            A quick, simple example of using Lawnchair to store and retrieve data for a jQuery Mobile based PhoneGap project. Written by a JavaScript newbie.
        
        
        
            0 
        
        
            1147 
        
                    posted 14 years ago by ryanstewart
            two awesome bits: using ''.replace() perform an action (other than replacing it) on some text, and a simple way to concatenate strings with a separator (retardedly simple but it always confuses me)
        
        
        
            0 
        
        
            1154 
        
                    posted 14 years ago by ultranaut
            http://stackoverflow.com/questions/3628649/javascript-self-contained-sandbox-events-and-client-side-stack
        
        
        
            0 
        
        
            1246 
        
                    posted 14 years ago by ultranaut
            I found some cases where JavaScript won't properly handle the Plus symbol (+)
        
        
        
            0 
        
        
            1325 
        
                    posted 14 years ago by Jamie
            
