Things to do in Cape Town, the Helderberg, and the Cape Winelands

Tag .js

Javascript: How to Extract a Number from a String

In my web development work, I’m quite fond of using the trick of generating grouped elements by making sure their IDs all share a common number with a bit of unique text. So for example I could have a set… Continue Reading →

Internet Explorer (IE) and the Cached .js File

Internet Explorer and pretty much all other modern web browsers make use of silent caching in order to streamline user experience. Of course, caching is a marvellous tool when needed, but also a frustrating one when you don’t want it turned on. Enter the humble .js javascript include file. Now IE likes to cache javascript .js file includes, but unfortunately unlike normal web pages, getting it to refresh its cached copy can sometime prove to be quite difficult to achieve.

© 2021 An Exploring South African — Powered by WordPress