页首Html代码

随笔分类 -  JS

摘要:d = { "student":[ { "count":1000, "stuList":[ { "name":"张三", "age":"18", "address":{ "city":"北京", "street":"长安街" } }, { "name":"李四", "age":& 阅读全文
posted @ 2018-10-06 10:32 binsite 阅读(2657) 评论(0) 推荐(0)
摘要:<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <style type ="text/css" > .main{ background-color:Silver; width :200px; height :100px; margin-left:40%; margin-top :200px; text-align :center;} </style> 阅读全文
posted @ 2013-05-21 23:03 binsite 阅读(240) 评论(0) 推荐(0)
摘要:<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <style type ="text/css" > .main{ background-color:Silver; width :100%; height :200px;} </style> <script src="js/ui/jquery-1.7.1.min.js" type 阅读全文
posted @ 2013-05-21 22:18 binsite 阅读(536) 评论(0) 推荐(1)
摘要:js字母大小写转换2010-09-19 22:26:46|分类:js|字号订阅toLocaleUpperCase 方法返回一个字符串,其中所有的字母字符都被转换为大写,同时适应宿主环境的当前区域设置。stringVar.tolocaleUpperCase( )必选的 stringVar 引用是一个 String 对象,值或文字。说明toLocaleUpperCase 方法转换字符串中的字符,同时适应宿主环境的当前区域设置。在大多数情况下,其结果与利用 toUpperCase 方法所得到的结果是一样的。然而,如果语言规则与常规的 Unicode 大小写映射方式冲突,那么结果就会不同。toLoca 阅读全文
posted @ 2013-04-27 13:32 binsite 阅读(337) 评论(0) 推荐(0)
摘要:语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text3. var checkValue=$("#select_id").val(); //获取Select选择的Value4. var checkIndex=$("#select_id &qu 阅读全文
posted @ 2013-04-26 16:59 binsite 阅读(172) 评论(0) 推荐(0)

页脚Html代码