??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩视频精品,中文字幕欧美日韩,一色桃子一区二区http://www.aygfsteel.com/ldwblog/category/41077.html态度军_一?/description>zh-cnTue, 07 Jan 2020 10:48:02 GMTTue, 07 Jan 2020 10:48:02 GMT60个h公众受Java爱好者社区」高质量原创文章持箋输出Q欢q各位小d?/title><link>http://www.aygfsteel.com/ldwblog/archive/2019/10/30/434887.html</link><dc:creator>David1228</dc:creator><author>David1228</author><pubDate>Wed, 30 Oct 2019 06:10:00 GMT</pubDate><guid>http://www.aygfsteel.com/ldwblog/archive/2019/10/30/434887.html</guid><wfw:comment>http://www.aygfsteel.com/ldwblog/comments/434887.html</wfw:comment><comments>http://www.aygfsteel.com/ldwblog/archive/2019/10/30/434887.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ldwblog/comments/commentRss/434887.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ldwblog/services/trackbacks/434887.html</trackback:ping><description><![CDATA[blogjava|站与博客园合ƈ了,对blogjavaq是有感情的?br />q且blogjava|站发布的文章是在博客园首页看不到的?br />blogjava|站首页能看刎ͼ你可以点L题进入可以看到图片二l码信息?br /><br /><strong style="color: red; font-size: 14pt;">Java爱好者社?/strong><br />公众号内容简介:<br /><p><span style="background-color: yellow; color: red;">专注于分享Java后端相关技术、老司机实战干货,不限于JVM、ƈ发、设计模式、性能优化、分布式&微服务、云原生、大数据相关主题?/span><br style="color: red;" /><span style="background-color: yellow; color: red;">希望x的你停下脚步Q定有所收获?/span><br style="color: red;" /><br />以前的个人博客内容不好迁U,所以我打算Ҏ自己的多q经验,不断整理输出有h值的内容?br />目前公众号内Ҏ关于<span style="background-color: yellow; color: red;">SpringCloudQ微服务框架Q、SkywalkingQAPM监控调用链)、JVMQGC分析、内存泄漏分析)、ƈ发编E?/span>相关原创实战文章已出炉?br /><br />最q刚开始已l有不少伙伴关注了Q期待能有幸搜烦到本博客的同学,可以扫码x一下,不胜感激?br />大家有Q何技术、职场、面试上的问题都可以与我交流?br /><br /><span style="background-color: yellow;"><strong>方式一Q?/strong></span><span style="color: red; background-color: yellow;"><strong>扫码以下公众号二l码Q?/strong></span><br /><img src="http://www.aygfsteel.com/images/blogjava_net/ldwblog/Java%E7%88%B1%E5%A5%BD%E8%80%85%E7%A4%BE%E5%8C%BA%E4%BA%8C%E7%BB%B4%E7%A0%81.png" border="0" alt="" /><br /><br />方式二:<span style="color: red;">在微信上直接搜烦Q?nbsp;</span><span style="color: red; background-color: yellow;">javatech_cbo</span><br /><br />感谢各位伙伴的支持Q后l会在该公众号上输出大量的有价值的实战q货 Q期待与你一同进步与成长?br /></p><img src ="http://www.aygfsteel.com/ldwblog/aggbug/434887.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ldwblog/" target="_blank">David1228</a> 2019-10-30 14:10 <a href="http://www.aygfsteel.com/ldwblog/archive/2019/10/30/434887.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JSON.parse Function (JavaScript) and JSON.stringify Function (JavaScript)http://www.aygfsteel.com/ldwblog/archive/2013/03/04/396043.htmlDavid1228David1228Mon, 04 Mar 2013 08:59:00 GMThttp://www.aygfsteel.com/ldwblog/archive/2013/03/04/396043.htmlhttp://www.aygfsteel.com/ldwblog/comments/396043.htmlhttp://www.aygfsteel.com/ldwblog/archive/2013/03/04/396043.html#Feedback0http://www.aygfsteel.com/ldwblog/comments/commentRss/396043.htmlhttp://www.aygfsteel.com/ldwblog/services/trackbacks/396043.html

Deserializes JavaScript Object Notation (JSON) text to produce a JavaScript value.

JSON.parse(text [, reviver]) 
text

Required. Valid JSON text.

reviver

Optional. A function that filters and transforms the results. The deserialized object is traversed recursively, and the reviver function is called for each member of the object in post-order (every object is revived after all its members have been revived). For each member, the following occurs:

  • If reviver returns a valid value, the member value is replaced with the value returned by reviver.

  • If reviver returns what it received, the structure is not modified.

  • If reviver returns null or undefined, the object member is deleted.

The reviver argument is often used to transform JSON representation of International Organization for Standardization (ISO) date strings into Coordinated Universal Time (UTC) format Date objects.

A JavaScript value—an object or array.

Exception

Condition

JavaScript parser errors

The input text does not comply with JSON syntax. To correct the error, do one of the following:

  • Modify the text argument to comply with JSON syntax. For more information, see the BNF syntax notation of JSON objects.

  • Make sure that the text argument was serialized by a JSON-compliant implementation, such as, JSON.stringify.

This example uses JSON.parse to deserialize JSON text into the contact object.

var jsontext = '{"firstname":"Jesper","surname":"Aaberg","phone":["555-0100","555-0120"]}'; var contact = JSON.parse(jsontext); var fullname = contact.surname + ", " + contact.firstname; // The value of fullname is "Aaberg, Jesper" 

This example uses JSON.parse to deserialize an ISO-formatted date string. The dateReviver function returns Date objects for members that are formatted like ISO date strings.

var jsontext = '{ "hiredate": "2008-01-01T12:00:00Z", "birthdate": "2008-12-25T12:00:00Z" }'; var dates = JSON.parse(jsontext, dateReviver); var string = dates.birthdate.toUTCString(); // The value of string is "Thu, 25 Dec 2008 12:00:00 UTC"  function dateReviver(key, value) {     var a;     if (typeof value === 'string') {         a = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value);         if (a) {             return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],                             +a[5], +a[6]));         }     }     return value; }; 

Supported in the following document modes: Internet Explorer 8 standards, Internet Explorer 9 standards. See Version Information.

Not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards.

Serializes a JavaScript value into JavaScript Object Notation (JSON) text.

JSON.stringify(value [, replacer] [, space]) 
value

Required. A JavaScript value, usually an object or array, to be serialized.

replacer

Optional. A function or array that filters and transforms the results.

If replacer is a function, JSON.stringify calls the function, passing in the key and value of each member. The return value is serialized instead of the original value. If the function returns undefined, the member will be excluded from the serialization. The key for the root object is an empty string: "".

If replacer is an array, only members with key values in the array will be serialized. The order of serialization is the same as the order of the keys in the array. Thereplacer array is ignored when the value argument is also an array.

space

Optional. Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.

If space is omitted, the return-value text is generated without any extra white space.

If space is a number, the return-value text is indented with the specified number of white spaces at each level. If space is greater than 10, text is indented 10 spaces.

If space is a non-empty string, such as '\t', the return-value text is indented with the characters in the string at each level.

If space is a string that is longer than 10 characters, the first 10 characters are used.

A string that contains the serialized JSON text.

Exception

Condition

Invalid replacer argument

The replacer argument is not a function or an array.

Circular reference in value argument not supported

The value argument contains a circular reference.

If the value that is being serialized has a toJSON method, the JSON.stringify function calls the toJSON method and uses the return value for serialization. If the return value of the toJSON method is undefined, the member will not be serialized. This enables an object to determine its own JSON representation.

Values that do not have JSON representations, such as undefined, will not be serialized. In objects, they will be dropped. In arrays, they will be replaced with null.

String values begin and end with a quotation mark. All Unicode characters may be enclosed in the quotation marks except for the characters that must be escaped by using a backslash. The following characters must be preceded by a backslash:

  • Quotation mark (")

  • Backslash (\)

  • Backspace (b)

  • Formfeed (f)

  • Newline (n)

  • Carriage return (r)

  • Horizontal tab (t)

  • Four-hexadecimal-digits (uhhhh)

Order of Execution

During the serialization process, if a toJSON method exists for the value argument, JSON.stringify first calls the toJSON method. If it does not exist, the original value is used. Next, if a replacer argument is provided, the value (original value or toJSON return-value) is replaced with the return-value of the replacer argument. Finally, white spaces are added to the value based on the optional space argument to generate the final serialized JSON text.

This example uses JSON.stringify to serialize the contact object to JSON text. The memberfilter array is defined so that only the surname and phone members are serialized. The firstname member is omitted.

var contact = new Object(); contact.firstname = "Jesper"; contact.surname = "Aaberg"; contact.phone = ["555-0100", "555-0120"];  var memberfilter = new Array(); memberfilter[0] = "surname"; memberfilter[1] = "phone"; var jsonText = JSON.stringify(contact, memberfilter, "\t"); /* The value of jsonText is: '{     "surname": "Aaberg",     "phone": [         "555-0100",         "555-0120"     ] }' */ 

This example uses JSON.stringify to serialize an array. The replaceToUpper function converts every string in the array to uppercase.

var continents = new Array(); continents[0] = "Europe"; continents[1] = "Asia"; continents[2] = "Australia"; continents[3] = "Antarctica"; continents[4] = "North America"; continents[5] = "South America"; continents[6] = "Africa";  var jsonText = JSON.stringify(continents, replaceToUpper); /* The value of jsonText is: '"EUROPE,ASIA,AUSTRALIA,ANTARCTICA,NORTH AMERICA,SOUTH AMERICA,AFRICA"' */  function replaceToUpper(key, value) {     return value.toString().toUpperCase(); } 

This example uses the toJSON method to serialize string member values in uppercase.

var contact = new Object();  contact.firstname = "Jesper"; contact.surname = "Aaberg"; contact.phone = ["555-0100", "555-0120"];  contact.toJSON = function(key)  {     var replacement = new Object();     for (var val in this)     {         if (typeof (this[val]) === 'string')             replacement[val] = this[val].toUpperCase();         else             replacement[val] = this[val]     }     return replacement; };  var jsonText = JSON.stringify(contact);  /* The value of jsonText is: '{"firstname":"JESPER","surname":"AABERG","phone":["555-0100","555-0120"]}' */ 

Supported in the following document modes: Internet Explorer 8 standards, Internet Explorer 9 standards. See Version Information.

Not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards.




http://msdn.microsoft.com/library/cc836459(VS.85).aspx



David1228 2013-03-04 16:59 发表评论
]]>
Q烂W头QJquery select option在html中?/title><link>http://www.aygfsteel.com/ldwblog/archive/2011/11/28/364990.html</link><dc:creator>David1228</dc:creator><author>David1228</author><pubDate>Mon, 28 Nov 2011 06:35:00 GMT</pubDate><guid>http://www.aygfsteel.com/ldwblog/archive/2011/11/28/364990.html</guid><wfw:comment>http://www.aygfsteel.com/ldwblog/comments/364990.html</wfw:comment><comments>http://www.aygfsteel.com/ldwblog/archive/2011/11/28/364990.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ldwblog/comments/commentRss/364990.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ldwblog/services/trackbacks/364990.html</trackback:ping><description><![CDATA[<div>转蝲自:<div>http://conkeyn.iteye.com/blog/734186</div><br />ȝq不错的<br /><br /><div><ol start="1"><li><span>jQuery获取Select选择的Text和Value:  </span></li><li>语法解释Q?nbsp; </li><li>1. $(<span>"#select_id").change(function(){//code...});   //为Selectd事gQ当选择其中一Ҏ触发  </span></li><li>2. <span>var checkText=$("#select_id").find("option:selected").text();  //获取Select选择的Text  </span></li><li>3. <span>var checkValue=$("#select_id").val();  //获取Select选择的Value  </span></li><li>4. <span>var checkIndex=$("#select_id ").get(0).selectedIndex;  //获取Select选择的烦引?nbsp; </span></li><li>5. <span>var maxIndex=$("#select_id option:last").attr("index");  //获取Select最大的索引?nbsp; </span></li><li>jQuery讄Select选择?nbsp;Text和Value:  </li><li>语法解释Q?nbsp; </li><li>1. $(<span>"#select_id ").get(0).selectedIndex=1;  //讄Select索引gؓ1的项选中  </span></li><li>2. $(<span>"#select_id ").val(4);   // 讄Select的Valuegؓ4的项选中  </span></li><li>3. $(<span>"#select_id option[text='jQuery']").attr("selected", true);   //讄Select的TextgؓjQuery的项选中  </span></li><li>jQueryd/删除Select的Option:  </li><li>语法解释Q?nbsp; </li><li>1. $(<span>"#select_id").append("<option value='Value'>Text</option>");  //为Selectq加一个Option(下拉?  </span></li><li>2. $(<span>"#select_id").prepend("<option value='0'>请选择</option>");  //为Select插入一个Option(W一个位|?  </span></li><li>3. $(<span>"#select_id option:last").remove();  //删除Select中烦引值最大Option(最后一?  </span></li><li>4. $(<span>"#select_id option[index='0']").remove();  //删除Select中烦引gؓ0的Option(W一?  </span></li><li>5. $(<span>"#select_id option[value='3']").remove();  //删除Select中Value='3'的Option  </span></li><li>5. $(<span>"#select_id option[text='4']").remove();  //删除Select中Text='4'的Option  </span></li><li>  </li><li>http:<span>//www.cnblogs.com/SAL2928/archive/2008/10/28/1321285.html  </span></li><li>  </li><li>jquery radio取|checkbox取|select取|radio选中Qcheckbox选中Qselect选中Q及其相?nbsp; </li><li>?nbsp;取一lradio被选中的?nbsp; </li><li><span>var item = $('input[@name=items][@checked]').val();  </span></li><li>?nbsp;取select被选中的文本  </li><li><span>var item = $("select[@name=items] option[@selected]").text();  </span></li><li>select下拉框的W二个元素ؓ当前选中?nbsp; </li><li>$(<span>'#select_id')[0].selectedIndex = 1;  </span></li><li>radio单选组的第二个元素为当前选中?nbsp; </li><li>$(<span>'input[@name=items]').get(1).checked = true;  </span></li><li>  </li><li>获取|  </li><li>  </li><li>文本框,文本区域Q?(<span>"#txt").attr("value")Q?nbsp; </span></li><li>多选框 checkboxQ?(<span>"#checkbox_id").attr("value")Q?nbsp; </span></li><li>单选组radioQ?nbsp;  $(<span>"input[@type=radio][@checked]").val();  </span></li><li>下拉框selectQ?nbsp;$(<span>'#sel').val();  </span></li><li>  </li><li>控制表单元素Q?nbsp; </li><li>文本框,文本区域Q?(<span>"#txt").attr("value",'');//清空内容  </span></li><li>$(<span>"#txt").attr("value",'11');// 填充内容  </span></li><li>  </li><li>多选框checkboxQ?nbsp;$(<span>"#chk1").attr("checked",'');//不打?nbsp; </span></li><li>$(<span>"#chk2").attr("checked",true);// 打勾  </span></li><li><span>if($("#chk1").attr('checked')==undefined) //判断是否已经打勾  </span></li><li>  </li><li>单选组 radioQ?nbsp;   $(<span>"input[@type=radio]").attr("checked",'2');//讄value=2的项目ؓ当前选中?nbsp; </span></li><li>下拉?nbsp;selectQ?nbsp;  $(<span>"#sel").attr("value",'-sel3');//讄value=-sel3的项目ؓ当前选中?nbsp; </span></li><li>$(<span>"<option value='1'>1111</option><option value='2'>2222</option>").appendTo("#sel")//d下拉框的option  </span></li><li>$(<span>"#sel").empty()Q?/ 清空下拉?nbsp; </span></li><li>  </li><li>----------------------------------------------------------------------------------------------------  </li><li>  </li><li>   </li><li>  </li><li><span>//遍历option和添加、移除option  </span></li><li><span>function changeShipMethod(shipping){  </span></li><li><span>var len = $("select[@name=ISHIPTYPE] option").length  </span></li><li><span>if(shipping.value != "CA"){  </span></li><li>$(<span>"select[@name=ISHIPTYPE] option").each(function(){  </span></li><li><span>if($(this).val() == 111){  </span></li><li>$(<span>this).remove();  </span></li><li>}  </li><li>});  </li><li>}<span>else{  </span></li><li>$(<span>"<option value='111'>UPS Ground</option>").appendTo($("select[@name=ISHIPTYPE]"));  </span></li><li>}  </li><li>}  </li><li>  </li><li>  </li><li><span>//取得下拉選單的選取?nbsp; </span></li><li>  </li><li>$(#testSelect option:selected').text();  </li><li>?(<span>"#testSelect").find('option:selected').text();  </span></li><li>?(<span>"#testSelect").val();  </span></li><li><span>//////////////////////////////////////////////////////////////////  </span></li><li>?nbsp;性不好的可以收藏下:  </li><li>1,下拉?  </li><li>  </li><li><span>var cc1 = $(".formc select[@name='country'] option[@selected]").text(); //得到下拉菜单的选中的文本(注意中间有空?  </span></li><li><span>var cc2 = $('.formc select[@name="country"]').val(); //得到下拉菜单的选中的?nbsp; </span></li><li><span>var cc3 = $('.formc select[@name="country"]').attr("id"); //得到下拉菜单的选中的ID属性?nbsp; </span></li><li>$(<span>"#select").empty();//清空下拉?nbsp;//$("#select").html('');  </span></li><li>$(<span>"<option value='1'>1111</option>").appendTo("#select")//d下拉框的option  </span></li><li>  </li><li>E微解释一?  </li><li>1.select[@name=<span>'country'] option[@selected] 表示hname 属性,  </span></li><li>q?nbsp;且该属性gؓ<span>'country' 的select元素 里面的具有selected 属性的option 元素Q?nbsp; </span></li><li>可以看出有@开头的pC后面跟 的是属性?nbsp; </li><li>  </li><li>2,单选框:  </li><li>$(<span>"input[@type=radio][@checked]").val(); //得到单选框?nbsp;选中的?注意中间没有I格)  </span></li><li>$(<span>"input[@type=radio][@value=2]").attr("checked",'checked'); //讄单选框value=2的ؓ选中状?(注意中间没有I格)  </span></li><li>  </li><li>3,复选框:  </li><li>$(<span>"input[@type=checkbox][@checked]").val(); //得到复选框的选中的第一的?nbsp; </span></li><li>$(<span>"input[@type=checkbox][@checked]").each(function() { //׃复选框一般选中的是多个,所以可以@环输?nbsp; </span></li><li>alert($(<span>this).val());  </span></li><li>});  </li><li>  </li><li>$(<span>"#chk1").attr("checked",'');//不打?nbsp; </span></li><li>$(<span>"#chk2").attr("checked",true);// 打勾  </span></li><li><span>if($("#chk1").attr('checked')==undefined){} //判断是否已经打勾  </span></li><li>  </li><li>  </li><li>当然jquery的选择器是强大? q有很多Ҏ.  </li><li>  </li><li><script src=<span>"jquery-1.2.1.js" type="text/javascript"></script>  </span></li><li><script language=<span>"javascript" type="text/javascript">  </span></li><li>$(document).ready(<span>function(){  </span></li><li>$(<span>"#selectTest").change(function()  </span></li><li>{  </li><li><span>//alert("Hello");  </span></li><li><span>//alert($("#selectTest").attr("name"));  </span></li><li><span>//$("a").attr("href","xx.html");  </span></li><li><span>//window.location.href="xx.html";  </span></li><li><span>//alert($("#selectTest").val());  </span></li><li>alert($(<span>"#selectTest option[@selected]").text());  </span></li><li>$(<span>"#selectTest").attr("value", "2");  </span></li><li>  </li><li>});  </li><li>});  </li><li></script>  </li><li>  </li><li>  </li><li><a href=<span>"#">aaass</a>  </span></li><li>  </li><li><!--下拉?->  </li><li><select id=<span>"selectTest" name="selectTest">  </span></li><li><option value=<span>"1">11</option>  </span></li><li><option value=<span>"2">22</option>  </span></li><li><option value=<span>"3">33</option>  </span></li><li><option value=<span>"4">44</option>  </span></li><li><option value=<span>"5">55</option>  </span></li><li><option value=<span>"6">66</option>  </span></li><li></select>  </li><li>jquery radio取|checkbox取|select取|radio选中Qcheckbox选中Qselect选中Q及其相兌取一lradio被选中 的?nbsp; </li><li><span>var item = $('input[@name=items][@checked]').val();  </span></li><li>获取select被?nbsp;中项的文?nbsp; </li><li><span>var item = $("select[@name=items] option[@selected]").text();  </span></li><li>select 下拉框的W二个元素ؓ当前选中?nbsp; </li><li>$(<span>'#select_id')[0].selectedIndex = 1;  </span></li><li>radio单选组的第二个 元素为当前选中?nbsp; </li><li>$(<span>'input[@name=items]').get(1).checked = true;  </span></li><li>获取|  </li><li>文本 框,文本区域Q?(<span>"#txt").attr("value")Q?nbsp; </span></li><li>多选框 checkboxQ?(<span>"#checkbox_id").attr("value")Q?nbsp; </span></li><li>单选组radioQ?nbsp;$(<span>"input[@type=radio][@checked]").val();  </span></li><li>下拉框selectQ?nbsp;$(<span>'#sel').val();  </span></li><li>?nbsp;制表单元素:  </li><li>文本框,文本区域Q?(<span>"#txt").attr("value",'');//清空内容  </span></li><li>$(<span>"#txt").attr("value",'11');// 填充内容  </span></li><li>多选框checkboxQ?nbsp;$(<span>"#chk1").attr("checked",'');//不打?nbsp; </span></li><li>$(<span>"#chk2").attr("checked",true);// 打勾  </span></li><li><span>if($("#chk1").attr('checked')==undefined) //判断是否已经打勾  </span></li><li>单选组radioQ?nbsp;$(<span>"input[@type=radio]").attr("checked",'2');//讄value=2的项目ؓ当前选中?nbsp; </span></li><li>下拉?nbsp;selectQ?nbsp;$(<span>"#sel").attr("value",'-sel3');//讄value=-sel3的项目ؓ当前选中?nbsp; </span></li><li>$(<span>"<optionvalue='1'& gt;1111</option><optionvalue='2'>2222</option& gt;").appendTo("#sel")//d下拉框的option  </span></li><li>$(<span>"#sel").empty()Q?/ 清空下拉?nbsp; </span></li><li>  </li><li>获取一lradio被选中的?nbsp; </li><li><span>var item = $('input[@name=items][@checked]').val();  </span></li><li>获取select被选中的文本  </li><li><span>var item = $("select[@name=items] option[@selected]").text();  </span></li><li>select下拉框的W二个元素ؓ?nbsp;前选中?nbsp; </li><li>$(<span>'#select_id')[0].selectedIndex = 1;  </span></li><li>radio单选组的第二个元素为当前选中?nbsp; </li><li>$(<span>'input[@name=items]').get(1).checked = true;  </span></li><li>获取|  </li><li>文本框,文本区域Q?(<span>"#txt").attr("value")Q?nbsp; </span></li><li>多选框 checkboxQ?(<span>"#checkbox_id").attr("value")Q?nbsp; </span></li><li>单选组radioQ?nbsp;$(<span>"input[@type=radio][@checked]").val();  </span></li><li>下拉框selectQ?nbsp;$(<span>'#sel').val();  </span></li><li>?nbsp;制表单元素:  </li><li>文本框,文本区域Q?(<span>"#txt").attr("value",'');//清空内容  </span></li><li>$(<span>"#txt").attr("value",'11');// 填充内容  </span></li><li>多选框checkboxQ?nbsp;$(<span>"#chk1").attr("checked",'');//不打?nbsp; </span></li><li>$(<span>"#chk2").attr("checked",true);// 打勾  </span></li><li><span>if($("#chk1").attr('checked')==undefined) //判断是否已经打勾  </span></li><li>单选组radioQ?nbsp;$(<span>"input[@type=radio]").attr("checked",'2');//讄value=2的项目ؓ当前选中?nbsp; </span></li><li>下拉?nbsp;selectQ?nbsp;$(<span>"#sel").attr("value",'-sel3');//讄value=-sel3的项目ؓ当前选中?nbsp; </span></li><li>$(<span>"<option value='1'>1111</option><option value='2'>2222</option>").appendTo("#sel")//d下拉框的option  </span></li><li>$(<span>"#sel").empty()Q?/ 清空下拉?nbsp; <br /></span></li></ol><p><div>query获取数据q生成下拉菜?C?免得又弄?q东东一不用忘,郁闷~!!! <p><script type="text/javascript"><br />    $(document).ready(function() {<br />        GetByJquery();<br />        $("#ddlProvince").change(function() { GetCity() });<br />        $("#ddlCity").change(function() { GetDistrict() });<br />    });<br />    <br />    function GetByJquery() { </p> <p>        $("#ddlProvince").empty(); //清空省䆾SELECT控g </p> <p>        $.getJSON("/ajax/GetProvinceList", function(data) {<br />            $.each(data, function(i, item) {<br />                $("<option></option>")<br />                    .val(item["ProvinceID"])<br />                    .text(item["ProvinceName"])<br />                    .appendTo($("#ddlProvince"));<br />            });<br />            GetCity();<br />        });      </p> <p>    } </p> <p>    function GetCity() { </p> <p>        $("#ddlCity").empty(); //清空城市SELECT控g<br />        var url ="/ajax/GetCityList/" + $("#ddlProvince").val();<br />        $.getJSON(url, function(data) {<br />            $.each(data, function(i, item) {<br />                $("<option></option>")<br />                    .val(item["CityID"])<br />                    .text(item["CityName"])<br />                    .appendTo($("#ddlCity"));<br />            });<br />            GetDistrict();<br />        });<br />    } </p> <p>    function GetDistrict() {<br />        $("#ddlDistrict").empty(); //清空市区SELECT控g<br />        var url = "/ajax/GetDistrictList/" + $("#ddlCity").val();<br />        <br />        $.getJSON(url, function(data) {<br />            $.each(data, function(i, item) {<br />                $("<option></option>")<br />                    .val(item["DistrictID"])<br />                    .text(item["DistrictName"])<br />                    .appendTo($("#ddlDistrict"));<br />            });<br />        });<br />    } </p> <p></script></p></div><br /></p></div><br /></div><img src ="http://www.aygfsteel.com/ldwblog/aggbug/364990.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ldwblog/" target="_blank">David1228</a> 2011-11-28 14:35 <a href="http://www.aygfsteel.com/ldwblog/archive/2011/11/28/364990.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>endWith js函数http://www.aygfsteel.com/ldwblog/archive/2010/08/31/330425.htmlDavid1228David1228Tue, 31 Aug 2010 06:45:00 GMThttp://www.aygfsteel.com/ldwblog/archive/2010/08/31/330425.htmlhttp://www.aygfsteel.com/ldwblog/comments/330425.htmlhttp://www.aygfsteel.com/ldwblog/archive/2010/08/31/330425.html#Feedback0http://www.aygfsteel.com/ldwblog/comments/commentRss/330425.htmlhttp://www.aygfsteel.com/ldwblog/services/trackbacks/330425.html        if(str==null||str==""||this.length==0||str.length>this.length)
              return false;
    if(this.substring(this.length-str.length)==str) return true;
          else return false;
          return true;
   }

David1228 2010-08-31 14:45 发表评论
]]>
js讄下拉框等只读属?其他也可以哦http://www.aygfsteel.com/ldwblog/archive/2010/08/26/329974.htmlDavid1228David1228Thu, 26 Aug 2010 07:19:00 GMThttp://www.aygfsteel.com/ldwblog/archive/2010/08/26/329974.htmlhttp://www.aygfsteel.com/ldwblog/comments/329974.htmlhttp://www.aygfsteel.com/ldwblog/archive/2010/08/26/329974.html#Feedback1http://www.aygfsteel.com/ldwblog/comments/commentRss/329974.htmlhttp://www.aygfsteel.com/ldwblog/services/trackbacks/329974.html转蝲自:http://ltf1660.javaeye.com/blog/580699
在项目开发过E中我们时常会碰到要讄下拉框ؓ只读QreadonlyQ,但是可惜的是select没有只读属性,所以需要在select外面包含一?span style="color: #ff0000">spanQ通过js来改变?/p>

下面q段html代码是在struts2的下拉标{中加入了span标签Q在面装蝲的时候就让下拉框变成不可诅R?/p>

<body onload="init()">

    <span id="id_select">
       <s:select name="sjdwmc" list="sjdxdwList" listKey="dxbh"  listValue="dwmc" headerKey="" headerValue=""></s:select>
    </span>

</body>

如下是js代码Q在initҎ中调用selectReadOnly让下拉框变成只读?/p>

/*Ҏ面上span的id讄select为只?/strong>/

function selectReadOnly(selectedId){
  var obj = document.getElementById(selectedId);
     obj.onmouseover = function(){
     obj.setCapture();
    }
    obj.onmouseout = function(){
     obj.releaseCapture();
    }
    obj.onfocus = function(){
     obj.blur();
    }
    obj.onbeforeactivate = function(){
     return false;
    }
 }

function init(){
      selectReadOnly("id_select");
  }



David1228 2010-08-26 15:19 发表评论
]]>
js旉函数解释http://www.aygfsteel.com/ldwblog/archive/2010/08/19/329319.htmlDavid1228David1228Thu, 19 Aug 2010 02:44:00 GMThttp://www.aygfsteel.com/ldwblog/archive/2010/08/19/329319.htmlhttp://www.aygfsteel.com/ldwblog/comments/329319.htmlhttp://www.aygfsteel.com/ldwblog/archive/2010/08/19/329319.html#Feedback0http://www.aygfsteel.com/ldwblog/comments/commentRss/329319.htmlhttp://www.aygfsteel.com/ldwblog/services/trackbacks/329319.htmlq段js需要了解js的时间函?
<script language="JavaScript" type="text/javascript">
<!--
calendar = new Date(); //得到当前日期
day = calendar.getDay(); //当前多数?
month = calendar.getMonth(); //当前月䆾
date = calendar.getDate(); //当前星期
year = calendar.getYear(); //q䆾
if (year< 100) year = 1900 + year;
cent = parseInt(year/100);
g = year % 19;
k = parseInt((cent - 17)/25);
i = (cent - parseInt(cent/4) - parseInt((cent - k)/3) + 19*g + 15) % 30;
i = i - parseInt(i/28)*(1 - parseInt(i/28)*parseInt(29/(i+1))*parseInt((21-g)/11));
j = (year + parseInt(year/4) + i + 2 - cent + parseInt(cent/4)) % 7;
l = i - j;
emonth = 3 + parseInt((l + 40)/44);
edate = l + 28 - 31*parseInt((emonth/4));
emonth--;
var dayname = new Array ("星期?, "星期一", "星期?, "星期?, "星期?, "星期?, "星期?);
var monthname =
new Array ("1?,"2?,"3?,"4?,"5?,"6?,"7?,"8?,"9?,"10?,"11?,"12? );
document.write(year +"q?);
document.write(monthname[month]);
document.write(date + "?+" ");
document.write(dayname[day]);
//-->
</script>

 

 

js日期相关

var myDate = new Date();
myDate.getYear(); //获取当前q䆾(2?
myDate.getFullYear(); //获取完整的年?4?1970-????)
myDate.getMonth(); //获取当前月䆾(0-11,0代表1?
myDate.getDate(); //获取当前?1-31)
myDate.getDay(); //获取当前星期X(0-6,0代表星期?
myDate.getTime(); //获取当前旉(?970.1.1开始的毫秒?
myDate.getHours(); //获取当前时?0-23)
myDate.getMinutes(); //获取当前分钟?0-59)
myDate.getSeconds(); //获取当前U数(0-59)
myDate.getMilliseconds(); //获取当前毫秒?0-999)
myDate.toLocaleDateString(); //获取当前日期
var mytime=myDate.toLocaleTimeString(); //获取当前旉
myDate.toLocaleString( ); //获取日期与时?/ca>

 

 

 

<SCRIPT LANGUAGE="JavaScript">
<!--
var now= new Date();
var year=now.getYear();
var month=now.getMonth()+1;
var day=now.getDate();
var hour=now.getHours();
var minute=now.getMinutes();
var second=now.getSeconds();
alert(year+"-"+month+"-"+day+" "+hour+":"+minute+":"+second);
-->
</SCRIPT>

now.getMilliseconds(); //获取当前毫秒?0-999)



David1228 2010-08-19 10:44 发表评论
]]>
获取当前旉的前N天或者后N天的js函数http://www.aygfsteel.com/ldwblog/archive/2010/08/19/329317.htmlDavid1228David1228Thu, 19 Aug 2010 02:39:00 GMThttp://www.aygfsteel.com/ldwblog/archive/2010/08/19/329317.htmlhttp://www.aygfsteel.com/ldwblog/comments/329317.htmlhttp://www.aygfsteel.com/ldwblog/archive/2010/08/19/329317.html#Feedback0http://www.aygfsteel.com/ldwblog/comments/commentRss/329317.htmlhttp://www.aygfsteel.com/ldwblog/services/trackbacks/329317.html     //获取spȝ旉
    var LSTR_ndate=new Date(Date.parse(curDate.replace(/-/g,   "/")));
    var LSTR_Year=LSTR_ndate.getYear();
    var LSTR_Month=LSTR_ndate.getMonth();
    var LSTR_Date=LSTR_ndate.getDate();
    //处理
    var uom = new Date(LSTR_Year,LSTR_Month,LSTR_Date);
    uom.setDate(uom.getDate()+1);//取得pȝ旉的前一?重点在这?负数是前几天,正数是后几天
    var LINT_MM=uom.getMonth();
    LINT_MM++;
    var LSTR_MM=LINT_MM > 10?LINT_MM:("0"+LINT_MM)
    var LINT_DD=uom.getDate();
    var LSTR_DD=LINT_DD > 10?LINT_DD:("0"+LINT_DD)
    //得到最l结?
    uom = uom.getFullYear() + "-" + LSTR_MM + "-" + LSTR_DD;
    return uom;
   } 
   
   //试
   var s= "2008-08-31";
   var endDate = getAfterDate(s);
   alert(endDate);

David1228 2010-08-19 10:39 发表评论
]]>
求字节长?验证字符或汉字的说明http://www.aygfsteel.com/ldwblog/archive/2010/08/12/328698.htmlDavid1228David1228Thu, 12 Aug 2010 09:48:00 GMThttp://www.aygfsteel.com/ldwblog/archive/2010/08/12/328698.htmlhttp://www.aygfsteel.com/ldwblog/comments/328698.htmlhttp://www.aygfsteel.com/ldwblog/archive/2010/08/12/328698.html#Feedback0http://www.aygfsteel.com/ldwblog/comments/commentRss/328698.htmlhttp://www.aygfsteel.com/ldwblog/services/trackbacks/328698.html String.prototype.getBytes = function()
{   
    var cArr = this.match(/[^\x00-\xff]/ig);   
    return this.length + (cArr == null ? 0 : cArr.length);   
}

val.getBytes() > 60
alert('val不能过60个字W或30个汉?);

David1228 2010-08-12 17:48 发表评论
]]>
Window.ShowModalDialog使用手册http://www.aygfsteel.com/ldwblog/archive/2009/12/15/305998.htmlDavid1228David1228Tue, 15 Dec 2009 03:36:00 GMThttp://www.aygfsteel.com/ldwblog/archive/2009/12/15/305998.htmlhttp://www.aygfsteel.com/ldwblog/comments/305998.htmlhttp://www.aygfsteel.com/ldwblog/archive/2009/12/15/305998.html#Feedback0http://www.aygfsteel.com/ldwblog/comments/commentRss/305998.htmlhttp://www.aygfsteel.com/ldwblog/services/trackbacks/305998.html 

基本介绍Q?br />          showModalDialog()                              (IE 4+ 支持)
         showModelessDialog()                         (IE 5+ 支持)
         window.showModalDialog()                 Ҏ用来创徏一个显CHTML内容的模态对话框?br />          window.showModelessDialog()            Ҏ用来创徏一个显CHTML内容的非模态对话框?br /> 使用ҎQ?br />          vReturnValue = window.showModalDialog(sURL [, vArguments] [,sFeatures])
         vReturnValue = window.showModelessDialog(sURL [, vArguments] [,sFeatures])
参数说明Q?br />         sURL                --   必选参敎ͼcdQ字W串。用来指定对话框要显C的文档的URL?br />         vArguments   --    可选参敎ͼcdQ变体。用来向对话框传递参数。传递的参数cd不限Q包括数l等。对话框通过window.dialogArguments来取得传递进来的参数?br />         sFeatures       --    可选参敎ͼcdQ字W串。用来描q对话框的外观等信息Q可以用以下的一个或几个Q用分号“;”隔开?br /> ----------------
1.   dialogHeight:   对话框高度,不小?00px
2.   dialogWidth:   对话框宽度?br /> 3.   dialogLeft:    dq左的距R?br /> 4.   dialogTop:    dq上的距R?br /> 5.   center:         { yes | no | 1 | 0 } Q?nbsp;            是否居中Q默认yesQ但仍可以指定高度和宽度?br /> 6.   help:            {yes | no | 1 | 0 }Q?nbsp;              是否昄帮助按钮Q默认yes?br /> 7.   resizable:      {yes | no | 1 | 0 } [IE5+]Q?nbsp;   是否可被改变大小。默认no?br /> 8.   status:         {yes | no | 1 | 0 } [IE5+]Q?nbsp;    是否昄状态栏。默认ؓyes[ Modeless]或no[Modal]?br /> 9.   scroll:           { yes | no | 1 | 0 | on | off }Q是否显C滚动条。默认ؓyes?br />
下面几个属性是用在HTA中的Q在一般的|页中一般不使用?br /> 10.   dialogHide:{ yes | no | 1 | 0 | on | off }Q在打印或者打印预览时对话框是否隐藏。默认ؓno?br /> 11.   edge:{ sunken | raised }Q指明对话框的边框样式。默认ؓraised?br /> 12.   unadorned:{ yes | no | 1 | 0 | on | off }Q默认ؓno?br />

参数传递:
1.   要想对话框传递参敎ͼ是通过vArguments来进行传递的。类型不限制Q对于字W串cdQ最大ؓ4096个字W。也可以传递对象,例如Q?br /> -------------------------------
parent.htm
<script>
         var obj = new Object();
         obj.name="51js";
         window.showModalDialog("modal.htm",obj,"dialogWidth=200px;dialogHeight=100px");
</script>
modal.htm
<script>
         var obj = window.dialogArguments
         alert("您传递的参数为:" + obj.name)
</script>
-------------------------------
2.   可以通过window.returnValue向打开对话框的H口q回信息Q当然也可以是对象。例如:
------------------------------
parent.htm
<script>
         str =window.showModalDialog("modal.htm",,"dialogWidth=200px;dialogHeight=100px");
         alert(str);
</script>
modal.htm
<script>
         window.returnValue="http://homepage.yesky.com";



David1228 2009-12-15 11:36 发表评论
]]>
checkBox复选框判断便方?/title><link>http://www.aygfsteel.com/ldwblog/archive/2009/12/09/305295.html</link><dc:creator>David1228</dc:creator><author>David1228</author><pubDate>Wed, 09 Dec 2009 08:37:00 GMT</pubDate><guid>http://www.aygfsteel.com/ldwblog/archive/2009/12/09/305295.html</guid><wfw:comment>http://www.aygfsteel.com/ldwblog/comments/305295.html</wfw:comment><comments>http://www.aygfsteel.com/ldwblog/archive/2009/12/09/305295.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ldwblog/comments/commentRss/305295.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ldwblog/services/trackbacks/305295.html</trackback:ping><description><![CDATA[<p> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000"><</span><span style="color: #000000">script type</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">text/javascript</span><span style="color: #000000">"</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />            function btn_change_click()<br /> <img id="Codehighlighter1_84_695_Open_Image" onclick="this.style.display='none'; Codehighlighter1_84_695_Open_Text.style.display='none'; Codehighlighter1_84_695_Closed_Image.style.display='inline'; Codehighlighter1_84_695_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_84_695_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_84_695_Closed_Text.style.display='none'; Codehighlighter1_84_695_Open_Image.style.display='inline'; Codehighlighter1_84_695_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />            </span><span id="Codehighlighter1_84_695_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_84_695_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                var url </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000"><%=request.getContextPath()%>/rmp/reqchange/beforeChangeOrder.do</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                var  inputChecked </span><span style="color: #000000">=</span><span style="color: #000000"> document.getElements(</span><span style="color: #000000">"</span><span style="color: #000000">input[name='ckids']</span><span style="color: #000000">"</span><span style="color: #000000">).filterByAttribute(</span><span style="color: #000000">"</span><span style="color: #000000">checked</span><span style="color: #000000">"</span><span style="color: #000000">,</span><span style="color: #000000">"</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">,</span><span style="color: #0000ff">true</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(inputChecked.length</span><span style="color: #000000">></span><span style="color: #000000">1</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_357_444_Open_Image" onclick="this.style.display='none'; Codehighlighter1_357_444_Open_Text.style.display='none'; Codehighlighter1_357_444_Closed_Image.style.display='inline'; Codehighlighter1_357_444_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_357_444_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_357_444_Closed_Text.style.display='none'; Codehighlighter1_357_444_Open_Image.style.display='inline'; Codehighlighter1_357_444_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                </span><span id="Codehighlighter1_357_444_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_357_444_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    alert(</span><span style="color: #000000">"</span><span style="color: #000000">每次只能操作一条记?/span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">return</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                }</span></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(inputChecked.length</span><span style="color: #000000"><</span><span style="color: #000000">1</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_504_588_Open_Image" onclick="this.style.display='none'; Codehighlighter1_504_588_Open_Text.style.display='none'; Codehighlighter1_504_588_Closed_Image.style.display='inline'; Codehighlighter1_504_588_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_504_588_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_504_588_Closed_Text.style.display='none'; Codehighlighter1_504_588_Open_Image.style.display='inline'; Codehighlighter1_504_588_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                </span><span id="Codehighlighter1_504_588_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_504_588_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    alert(</span><span style="color: #000000">"</span><span style="color: #000000">请选择一条记?/span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">return</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                }</span></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                window.location </span><span style="color: #000000">=</span><span style="color: #000000">url </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">?orderId=</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"> inputChecked[</span><span style="color: #000000">0</span><span style="color: #000000">].value;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000">            <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #000000"></</span><span style="color: #000000">script</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #000000"><</span><span style="color: #000000">input type</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">button</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">button_1</span><span style="color: #000000">"</span><span style="color: #000000"> id</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">button4</span><span style="color: #000000">"</span><span style="color: #000000"> value</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000"> 目变更 </span><span style="color: #000000">"</span><span style="color: #000000"> onclick</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">btn_change_click()</span><span style="color: #000000">"</span><span style="color: #000000">></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000"><</span><span style="color: #000000">input type</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">checkbox</span><span style="color: #000000">"</span><span style="color: #000000"> name</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">ckids</span><span style="color: #000000">"</span><span style="color: #000000"> value</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">111</span><span style="color: #000000">"</span><span style="color: #000000">/></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000"><</span><span style="color: #000000">input type</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">checkbox</span><span style="color: #000000">"</span><span style="color: #000000"> name</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">ckids</span><span style="color: #000000">"</span><span style="color: #000000"> value</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">222</span><span style="color: #000000">"</span><span style="color: #000000">/></span></div> <img src ="http://www.aygfsteel.com/ldwblog/aggbug/305295.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ldwblog/" target="_blank">David1228</a> 2009-12-09 16:37 <a href="http://www.aygfsteel.com/ldwblog/archive/2009/12/09/305295.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>js 获取字符串字节长度、去两边I格Ҏhttp://www.aygfsteel.com/ldwblog/archive/2009/08/17/291488.htmlDavid1228David1228Mon, 17 Aug 2009 06:39:00 GMThttp://www.aygfsteel.com/ldwblog/archive/2009/08/17/291488.htmlhttp://www.aygfsteel.com/ldwblog/comments/291488.htmlhttp://www.aygfsteel.com/ldwblog/archive/2009/08/17/291488.html#Feedback0http://www.aygfsteel.com/ldwblog/comments/commentRss/291488.htmlhttp://www.aygfsteel.com/ldwblog/services/trackbacks/291488.html阅读全文

David1228 2009-08-17 14:39 发表评论
]]>
վ֩ģ壺 | | Ϸ| | | ƽ˳| | | | | | | Ҿ| | | | ¡| | п| | | ˳| ƽң| ij| | | | | | | | | | | | â| ɽ| | | Ž| ľ|