Javascript Snippets

Change a Page's Stylesheet Using Javascript Javascript If-Else Shortcut Ternary Operator Swap Variables in One Line of Code Javascript array_unique (similar to PHP) Sort a Javascript 2d Array by Any Column Value Sort an HTML Table by Column Using Javascript Variable Name Functions Accordion Menu Replace All function using Javascript Occurrences of Substring in String Detect Javascript Swipe for Touch Screens and Mouse Get Hypotenuse Using Pythagorean Create an Image Zoom Window with Javascript Get String Between Strings with Javascript Immediately Invoke a Javascript Function Round Numbers Accurately to Specified Place Value with Javascript Check if String Contains Substring Pass Javascript Variables to Another Page Split a String Into a 2-Dimensional-Array Strip HTML Tags from String Remove Quotes from String Remove Return Characters From String Determine if a Javascript Variable is a Number Copy text from an input box to the clipboard Fade an Element In or Out with a Toggle Javascript Equivalent to file_get_contents("filename.html") Random Shuffle Javascript Array Determine When HTML Element Comes Into Viewport While Scrolling Conditionally Load a Javascript File Javascript Send Form With No Target Check for Mobile Phone Get the Date String in Milliseconds Javascript Equivalent to array_unique() Javascript Equivalent to the PHP natsort($array) Watch or Monitor Javascript Variables for Change Javascript Equivalent to the PHP array_values function Find if Item Exists in 2-Dimentional Javascript Array
Copyright © Website Development | Disclaimer | Privacy Policy | Terms of Use