Inserting a value at the correct index in array;
Hi, if I have an array such as this;
ages = new Array(19,22,24,29,27); // This could be any random numbers;
and I want to add the age 26.
How would I go about it in a function or is there a jQuery method I could use for it?
Thanks in advance;