大神们请教一下,如何触发attach的页面跳转,getelementbyID(attach).click() 没反应。onclick可以用吗,怎么用?
<li id=”notice” class=”notice” onmouseout=” if(this.className!=’selectFolder_li’){this.className=’notice’;}” onMouseOver=” if(this.className!=’selectFolder_li’){this.className=’notice mailFolderListColor’;}”><a class=’folder_other’ title=’公司公告’ href=”javascript:fGoto();” onclick=’CC.goOutLink(“/webmail/se/notice/list.do
?sid=9pne0SdWD6ecTjsykIPH2OqM4eAGcQ3k000001″,”notice”,”公司公告”);return false;’>公司公告</a></li>
<li id=”attach” class=”attach” onMouseOut=” if(this.className!=’selectFolder_li’){this.className=’attach’;}” onMouseOver=” if(this.className!=’selectFolder_li’){this.className=’attach mailFolderListColor’;}”><a class=’folder_other’ title=’附件管理’ href=”javascript:fGoto();” onclick=’CC.goAttachList();return false;’>附件管理</a></li>
<li id=”diskTemp” class=”disk” onmouseout=” if(this.className!=’selectFolder_li’){this.className=’diskTemp’;}” onMouseOver=” if(this.className!=’selectFolder_li’){this.className=’disk mailFolderListColor’;}”><a class=’folder_other’ title=’文件中转站’ href=”javascript:fGoto();” onclick=’CC.goOutLink(“/webmail/se/disk/tempdisk.do
?sid=9pne0SdWD6ecTjsykIPH2OqM4eAGcQ3k000001″,”diskTemp”,”文件中转站”);return false;’>文件中转站</a></li>
<script type=”text/javascript” charset=”utf-8″ src=”/resource/se/mail/js/jquery.js?20130916″></script>
<script type=”text/javascript” charset=”utf-8″ src=”/resource/se/mail/js/module/AttachList.js”></script>