一JavaScript传递参数问题,请教
<SCRIPT LANGUAGE="JavaScript">
function yousyokuChgAction(index) {
var x = index;
alert(x);
}
</SCRIPT>
.............
<TD WIDTH="44%" CLASS="ke_label">
<DIV ALIGN="left">
<html:text property="txtYousyoku" size="44" maxlength="32" name="item"
onchange="yousyokuChgAction(<%=index%>)"/>
<html:text property="yousyokuArray_Init" name="item"/>
<html:text property="yousyokuArray_Changed" name="item"/>
</DIV>
</TD>
................
onchange="yousyokuChgAction(<%=index%>)" 这个地方不对,请问应该如何写?!