I have a javascript that scrolls through a series of "headlines" - essentially key points for the month or week for our customers, or key changes to our website, prices, etc.
right now the sctipt essentially has an array of strings that gets read into a function and changed into a line of html code.
myArray =[['link','text'],[..],..]
I would like to have this linked to a database, so that it will read the link and text fields from a table - this will make things easier to update.
Could anyone help me with the code I need to link the database through javascript? I've done it in vbscript before, but never javascript.
Thank in advance for any help you can offer.