'javascript' Category

  • Feb
    18
    2009

    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++) { […]

    Share/Save
  • Oct
    20
    2008

    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 […]

 
Powered by Wordpress and MySQL. Theme by openark.org