Tag Archives: js

JavaScript: Basic, Multi-Dimensional & Associative Arrays

Arrays are an amazingly useful variable in all programming languages, they allow you to store vast amounts of organised data in just one reference. This helps not only on software memory usage and speed – But also on program complexity …

Read more »

JavaScript: Change address bar URL when loading content with AJAX

Isn’t it annoying when you have a website that uses AJAX to load each page of the site, but the URL in the address bar just stays as the URL to the entry page to the site? Well it’s not …

Read more »

Javascript: Google MarkerCluster – Stop the first marker from clustering

Recently I have been working on a project for work that allows customers to book train tickets and a hotel in one package (saving them money), how the system is working is the user first selects there train travel, after …

Read more »

JavaScript: Explode a string

Those of you who are familiar with PHP know a very useful function called explode() which takes a string and a delimiter and splits the string into an array using the delimiter as the splitter. So for instance a string …

Read more »

Bring attention to an element by flashing it’s background

Recently I needed to grab the users attention if they attempted to submit a form that had errors, now when the button is first clicked a box is shown with the error they must fix. But if they clicked the …

Read more »


Corel.com