'javascript' Category
-
Feb182009
Be Careful parsing your URL string with Javascript
…so I know you’ve looked around the net for a good method to parse URL variables with javascript, and I’m sure that you’ve found some elegant method that looks something like: function parseLocation() { var turl = window.location.search; ar = turl.split(‘&’); var b = {}; for (var i = 0; i < ar.length; i++) { […]
-
Oct202008
using Javascript to refresh an image without a cache-busting parameter
…say you’re using Javascript to reload an image periodically, say, every 60 seconds, and the image never refreshes. If you look for help across the webrent a car bulgaria (as undoubtedly you have, since you’re here now, right?) you’ll find a) A bunch of people telling you to tag on a url param that’s a […]