应该不可以吧?不过可以将这个onclick事件换行<INPUT type=button value=更新 
onclick=modify('{$a}','{$b}','{$c}',……)>

解决方案 »

  1.   

    但是,我希望在modify()的括号内换行,因为参数太多了,写在一行实在不好看,不可以吗?
      

  2.   

    不可以吗?<script language="javascript">
    <!--
    function test()
    {
    alert(arguments[0]);
    }
    //--></script>
    <input type="button" onclick="test(1,
    2,
    3)"/>
      

  3.   

    问题解决了,谢谢。
    <input  type=  "button  "  onclick=  "test(1,  
    2,  
    3)  "> 这样是没有问题的,可以正常的调用函数。先前我之所以没有实现,是因为我的写法是:
    <input  type=  "button  "  onclick=  test(1,  
    2,  
    3)  > 这样断句换行而缺少引号的情况下是无法传值的。但是,如果写成:
    <input  type=  "button  "  onclick=  test(1, 2, 3)  > 则在缺少引号而不断句换行的情况下,也可以实现正常的函数调用。
      

  4.   

    test(1,2,3)在没有引号的情况下,参数之间不能有空格。