Inline Javascript Function Call Problem

I’m receiving this error:

“Expected ‘]’”;

With this HTML in IE8. Any ideas why this is happening and why it is only happening in IE8?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE></TITLE>
<BODY>
 <a onclick='test_func([[1302684000,Int Subs]]);'>Test</a>
</BODY>
</HTML>  

The purpose of the code is to pass a dynamic array to the javascript function.

Thanks for your help.

Off Topic:

Moved to the JavaScript forum from HTML and XHTML. :slight_smile:

Int Subs should be in quotes, or if it is an identifier, not have a space in it.