Javascript commands for the most common actions
A quick reference of the JavaScript commands that come up in everyday browser scripting — event handlers, navigation, dialogs, dates,
Continue readingJavascript commands for the most common actions
A quick reference of the JavaScript commands that come up in everyday browser scripting — event handlers, navigation, dialogs, dates,
Continue readingJavascript commands for the most common actions
Full page refreshes have mostly given way to partial updates — fetch a bit of JSON, patch the DOM, done
Continue readingRetain scroll position after browser refresh
The 2008 trick for preloading images with CSS went something like this: Neat idea, quietly broken: in CSS, when the
Double-submits are as old as forms on the web: the user clicks “Submit”, nothing appears to happen fast enough, they
Back in 2008, connecting PHP to SQL Server was a weekend-destroying exercise. The mssql extension relied on an ancient Sybase-era
WampServer 2 had been working fine on Vista, then it suddenly stopped: the browser just hung and no local page
Back in 2008 the standard way to limit a textarea was a clipboard-ready script from Dynamic Drive: keypress handlers, document.all
A fun 2008 trick: a snippet (credited to Mike Cullen, featured on Dynamic Drive) that updated document.title every second so
Passing values between PHP (server) and JavaScript (browser) confuses everyone once, because the two run at completely different times: PHP
If your app depends on cookies — sessions, CSRF tokens, consent flags — it is worth detecting early whether the