![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
smilecrab
这个作者很懒,什么都没留下…
展开
-
javascript-5种跳转页面的办法
[code="j三"] window.location.href=”login.jsp?backurl=”+window.location.href; [/code] [code="js"] alert(”back”); window.history.back(-1); [/code] [code="js"] window.navigate(”top.j...原创 2012-02-08 11:19:48 · 84 阅读 · 0 评论 -
javascript两个等于号与三个等于号
==先转换类型再比较,===先判断类型,如果不是同一类型直接为false。 ===表示恒等于,比较的两边要绝对的相同 alert(0 == ""); // true alert(0 == false); // true alert("" == false); // true alert(0 === ""); // false alert(0 === false); // fal...原创 2012-02-14 13:52:07 · 166 阅读 · 0 评论