What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-05 15:10:12
jquery deparam
/** * jQuery.deparam - The oposite of jQuery param. Creates an object of query string parameters. * * Credits for the idea and Regex: * http://stevenbenner.com/2010/03/javascript-regex-trick-parse-a-query-string-into-an-object/ */ (function($){ $.d... Add solution -
Javascript 2022-02-01 04:21:44
refresh page after 10 mins of inactivity
If you want to refresh the page if there is no activity then you need to figure out how to define activity. Let's say we refresh the page every minute unless someone presses a key or moves the mouse. This uses jQuery for event binding: <script> ... Add solution -
Javascript 2022-01-31 22:25:54
get domain name javascript
var currentUrl = window.location.href; Add solution