I have two parallel arrays(siteID & floodForecastValue) that I would like to pass to the function passTime (see code below). However, when I mouse over the link I see that it is passing each element in both arrays separated by commas. Is there a way to pass the array itself rather than the contents of the array. Thanks in advance for the help.
Code:
document.write ("<td><a href='javascript:void passTime(" + siteID + "," + floodForecastValue + ")'>");