how can i access an array, defined in the form, inside javascript. e.g i have defined an integer array inside the web form like
<% using (Html.BeginForm())
{
int[] ctid = ViewData["ct"] as int[];
var x = 0;
%>
now i want to access this array(ctid) inside javascript, how can i do that...
plz help ...