codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title></title>
</head>
<body>
<form id="form" name="form" method="post" action="" onsubmit="return formCheck(this);">
<p class="cell_border_l tab_r">
<label>
<input type="submit" name="Submit" value="SALVA" />
</label>
<span class="tab_ca">
<input name="fieldRequired" type="hidden" id="fieldRequired" value=""clie1", "clie20"" />
</span>
<input name="fieldDescription" type="hidden" id="fieldDescription" value=""Ragione Sociale", "P.IVA"" />
</p>
</form>
<script>
var req =document.getElementById('fieldRequired');
var desc=document.getElementById('fieldDescription');
var evalStr='var myArray = ['+req.value+','+desc.value+']';
eval(evalStr);
alert(myArray);
</script>
</body>
</html>