:: Forum >>

[["mth"="200406"],["nme"="who"]] array to table error

I have an = in an array how can this assignment be handled in creating a table or to display the literal array in HTML.

<html>
<body>

<script type="text/javascript">
var famname = [["mth"="200406"],["nme"="who"]]
for (i=0; i<famname.length; i++)
{
document.write(famname[i] + "<br>")
}
</script>

</body>
</html>
kah
Friday, October 22, 2004
This is not the correct syntax for js array: [["mth"="200406"],["nme"="who"]]. Could you explain what you are trying to achieve?
Alex (ActiveWidgets)
Monday, October 25, 2004
not using activewidgets sorry, shouldn't have posted :)

fyi,
this array will act as a filter to a report when passed by the server.
I'd like to display this as a table or list prior to passing filter, currently display above as a string.

kah
Tuesday, October 26, 2004

This topic is archived.


Back to support forum

Forum search