随笔分类 -  js

js
高德地图定位
摘要:相关资料的查看地址: 各种demo的在线编辑查看地址http://lbs.amap.com/api/javascript-api/example/location/browser-location/?demo 高德自己做的: 打开即有相应的定位信息http://ditu.amap.com/ 需要自己 阅读全文
posted @ 2016-10-08 13:33 linglin 阅读(2256) 评论(0) 推荐(0)
c# 引用百度地图
摘要:<div title="欢迎使用" style="padding: 20px; overflow: hidden;" id="home"> </div> <script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1 阅读全文
posted @ 2016-05-10 14:12 linglin 阅读(3307) 评论(0) 推荐(0)
RadioButtonList的使用
摘要:js判断选中 cs文件后台绑定 赋值初值,选中的 阅读全文
posted @ 2016-04-26 17:48 linglin 阅读(360) 评论(0) 推荐(0)
ASCII电脑编码
摘要:Bin Dec Hex 缩写/字符 解释 0000 0000 0 00 NUL(null) 空字符 0000 0001 1 01 SOH(start of headline) 标题开始 0000 0010 2 02 STX (start of text) 正文开始 0000 0011 3 03 ET 阅读全文
posted @ 2016-03-02 11:17 linglin 阅读(357) 评论(0) 推荐(0)
给table行换色
摘要:addClass:是添加样式;siblings:是用来获取同辈元素,siblings("tr")的意思就是获取同辈的tr元素;removeClass:是去除样式; 阅读全文
posted @ 2016-01-13 17:26 linglin 阅读(215) 评论(0) 推荐(0)
获取内容并截取长度用...替换
摘要:ps:alert(document.getElementById('ha').innerHTML); 如果里面是点击,得到的也是点击. alert(document.getElementById('ha').innerText); // 这个仅IE下有效,但如果里面是点击,得到的只是"点击" 阅读全文
posted @ 2015-12-02 09:59 linglin 阅读(213) 评论(0) 推荐(0)
弹出提示信息
摘要:方案一:if (string.IsNullOrEmpty(hlApplyName.Text)) { Response.Write(""); return; }function funTips(strResult) { $.messager.alert("消息框", strResult); if (s... 阅读全文
posted @ 2015-11-20 15:12 linglin 阅读(132) 评论(0) 推荐(0)