这段代码应该没有问题,把其余的部分也贴上来,好判断些.

解决方案 »

  1.   

    To:rootcn(沙砾)
     好的,我这是形成tree的一部分,func('xx1')是open 或close的,这个没有问题,现在就是点击test链接时,网页没反应!?。
    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
    <link href="stylesheet/pattern.css" type="text/css" rel="stylesheet">
    <script language="javascript" type="text/javascript" src="script/submit.js">
    </script>
    <script language="javascript" type="text/javascript" src="script/tree.js">
    </script><title></title></head>
    <body onload="init()" class="tree" topmargin="10" leftmargin="10">
    <form name="GetDetailForm" method="post" action="/ismwebstruts/getDetail.do" target="rightFrame">
    <input name="filelevel" value="" type="hidden">
    <input name="diskarray" value="" type="hidden">
    <input name="info" value="" type="hidden">
    <input name="folderindex" value="" type="hidden">

    <div style="margin-top: 0pt; margin-left: 10px;"><a onclick="return func('xx1')"><img src="Images/test.GIF" align="middle" border="0"></a><a href="javascript:submit_value('','1','')">&nbsp;test</a></div>
    </form>
    </body></html>