3.2.0

[["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
October 22,
This is not the correct syntax for js array: [["mth"="200406"],["nme"="who"]]. Could you explain what you are trying to achieve?
Alex (ActiveWidgets)
October 25,
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
October 26,

This topic is archived.

See also:


Back to support forum