请教:window.location = '?与location href= '?的区别?
1、Response.Write "<Script>alert('恭喜您,帖子回复成功!');location.href='?forumid="&forumid&"&id="&id&"';</Script>"2、<a href="javascript:if(window.confirm('你确实要删除吗?') == true){window.location = '?action=dreply&forumid=<%=forumid%>&id=<%=Rs0("ID")%>';}"><img src="images/del.gif" width="47" height="18" border=0></a>
[ 本帖最后由 sylknb 于 2010-3-5 09:28 编辑 ]