Categories

Reloading a page with Javascript and your cache

JavaScript logo

I got caught out using Javascripts location.reload(true); recently. I have a web-page which is destined to be displayed in a public area on a large screen, which unfortunately has a LARGE, static background image (not my design — promise!). The page must reload fairly frequently, and I don’t want the background image disappearing while it reloads each [...]

submit a form with a radio button using Javascript

JavaScript logo

My boss (god bless his little cotton socks) wanted me to implement some code that submitted a form when the user changed the selection in a set of radio [...]