N/APosted on - 08/26/2012
I found this to help you out :http://www.w3schools.com/jsref/jsref_push.asp.
This is the famous "push method" which is used almost everywhere, even in Chrome, Firefox, and other big programs. The website contains a lot of examples which could prove useful to you and you can get the job done. If more help is needed, contact me further.