document.getElementBy("text1").value=<%=value%>

解决方案 »

  1.   

    我想要实现这样的语句myBean.output('javascript:window.document.form.text1.value', 'javascript:window.document.form.text2.value', 'javascript:window.document.form.select.value');有这样实现的可能吗?我不知道具体的语法,所以请各位帮忙
      

  2.   

    在后台定义aaa="'javascript:window.document.form.text1.value', 'javascript:window.document.form.text2.value', 'javascript:window.document.form.select.value'"
    <%=aaa%>