html&JS
jiatongtong
这个作者很懒,什么都没留下…
展开
-
html中<a>标记的href属性不能正确跳转
可以正常使用的html源码: function clickHandle() { try { throw new Error(0,"test"); } catch(tmpE) { alert("失败"+tmpE.message); } } function open_window(){ window.open原创 2015-06-24 15:34:32 · 5419 阅读 · 0 评论 -
JavaScript: Passing by Value or by Reference
JavaScript: Passing by Value or by Reference(javascript中值传递,引用传递)转载 2017-02-07 09:48:50 · 2647 阅读 · 0 评论 -
Simple explanation about SOAP and REST
Simple explanation about SOAP and RESTSOAP - "Simple Object Access Protocol"SOAP is a method of transferring messages, or small amounts of information, over the Internet. SOAP messages are formatt转载 2017-02-10 16:16:44 · 420 阅读 · 0 评论 -
Html textarea how to fill table cell(Html中的textarea控件如何在表格单元格中进行填充布局)
使用css进行控制,如下:<style> /* Textarea styling */ textarea { top: 0px !important; left: 0px !important; width: 100%; height: 100%; position: absolute; resize: none; -webkit-box-sizing: border-b...原创 2018-05-25 14:21:27 · 1614 阅读 · 0 评论 -
html 中设置只读的textarea控件颜色
textarea[readonly] {background-color:#eeeeee !important;}上面红色底色的替换为想要设定的颜色。原创 2018-05-25 14:27:09 · 2663 阅读 · 0 评论 -
Javascript Module Pattern,公共属性不能获取到最新值(Javascript revealing module pattern, public properties)
发现问题的代码如下:<html> <script type="text/javascript"> var module=(function(){ //private varibles var grades=undefined; console.log("self invoking grades="+grades); //private methods...原创 2018-06-24 05:25:54 · 209 阅读 · 0 评论