дÔÚ¡¶JavaScriptÕ÷;¡·¶Áºó¸Ð´´×÷֮ǰµÄ»°
ÔÚд¶Áºó¸Ð֮ǰ£¬ÏÈ×ÔÎÒ½éÉÜһϣ¬±¾ÈË£¬ÄУ¬24Ë꣬δ»é£¬×Êdz.NET³ÌÐòÔ±£¬ÔÚ¶Á´ËÊé֮ǰÒѾÄܹ»ÊìÁ·µÄÀûÓÃJavaScript½øÐÐ±íµ¥µÄÒ»°ãÑéÖ¤£¨Í¨¹ýdocument.getElementById»ñÈ¡³öÎı¾¿òµÄÖµºóÔÙ½øÐÐif...else...Åжϣ©¡£
¸Õ¸ÕÄõ½´ËÊ飬ÐÄÇéºÃÒ»·¬¼¤¶¯£¬ÎÖ~~~лª×ֵ䣬³¤Ô¼26CM£¬¿íÔ¼18CM£¬¸ßÔ¼3.5CM£¬·âÃæÓа¼Í¹¸Ð£¬Ö½ÖʺܺÃ.
×Ðϸ¿´ÁËĿ¼£¬¹²21Õ£¬±¾È˶ÔJavaScriptÒ²²»ÊÇÕÆÎյúܺã¬Ò²²»ÖªµÀÊDz»ÊÇÒѾ°ÑJavaScriptµÄËùÓÐÄÚÈÝ°üÀ¨ÔÚÀïÃæÁË£¬²»¹ýÓ¦¸ÃÄÚÈÝÊÇÂù·á¸»µÄ¡£
¿´ÁËÒ»¸öÐÇÆÚ£¬Ã¿ÌìÍíÉÏ¿´3Сʱ×óÓÒ£¬²Å¿´Á˴˱¾µÄÒ»°ë£¬×ܵÃÀ´ËµÊ黹ÊÇдµÃ²»´íµÄ£¬ËäÈ»ÓÐЩµØ·½ÄÑÃâ»áǧƪһÂÉ£¬±ÈÈç˵ÔÚ½²JavaScript¶ÔÏóµÄʱºò£¬ÏÈÊÇÒ»¸ö±í¸ñ£¬×ó±ßÊÇÊôÐÔ»òÕß·½·¨µÄÃû³Æ£¬ÓÒ±ßÊǽâÊÍ...
¸öÈËÈÏΪ±¾Êé×î´óµÄÌصã¾ÍÊÇËûÖÚ¶àµÄʾÀý´úÂ룬ÿһ¸ö֪ʶµã¸½ÁËÒ»´ó¶Î½âÊÍÐÔµÄÎÄ×ÖÖ®Í⣬¶¼»áÓÐÒ»¸öÒÔÉϵĴúÂëʾÀýÀ´ËµÃ÷£¬¸öÈËÈÏΪÄÇЩʾÀý´úÂ뻹ÊǺܺö®µÄ£¬»ù±¾ÉÏÎÒ¿´Êé¶ÔÄÇЩÎÄ×Ö¶¼Ò»ÂÔ¶ø¹ý£¬¶øÖصãÊÇ¿´ÊéÖеÄʾÀý´úÂ룬µ±Äã´úÂë¿´¶®ÊÇÔõô»ØÊÂÁËÕâ¸ö֪ʶµãÄãÒ²¾ÍÃ÷°×ÁË¡£
βÉù£¬±¾Ê黹û¿´Í꣬²»¹ý×ܵÃÀ´Ëµ¸öÈ˸оõ»¹ÊDz»´íµÄ£¬ÖÁÉÙ¶Ô±¾ÈËÀ´Ëµ£¬²»ÖªµÀÊÇÒòΪ¿´ÁË´ËÊéµÄЧ¹û»¹ÊÇÒòΪдJS´úÂëд¶àÁ˵ĻýÀÛ£¬¼¸ÌìÇ°È¥¿´kindeditorÔÚÏß±à¼Æ÷µÄÔ´Â뾹ȻÒÀÏ¡Óе㿴¶®ÁË£¬ºÙºÙ£¬¹À¼Æ×Ðϸ¿´ÍêÕû±¾Ê飬ÔÙÈ¥¿´jqueryµÄÔ´ÂëÓ¦¸ÃÄÜ¿´µÃ¶®ÁË¡£¡£¡£
»¥¶¯³ö°æÍø¹ºÂò
µ±µ±Íø¹ºÂò
׿ԽÍø¹ºÂò
Ïà¹ØÎĵµ£º
ÔÚBase2ÖÐÕÒµ½Ò»¸ö½ÐforEachµÄº¯Êý£¬ÊÇÎÒ¼û¹ýµÄ×îºÃµÄʵÏÖ¡£ÍÚ³öÀ´·ÖÎöһϡ£ËüÄܶԸ÷ÖÖÆÕͨ¶ÔÏó£¬×Ö·û´®£¬Êý×éÒÔ¼°ÀàÊý×é½øÐбéÀú¡£Èç¹ûÔÓÎÀÀÆ÷µÄ¶ÔÏóÒÑʵÏִ˺¯Êý£¬ËüÔòµ÷ÓÃÔ¶ÔÏóµÄº¯Êý¡£
function forEach(object, block, context, fn) {
if (object == null) return;
if (!fn) {
if (typ ......
ΪÁËʵÏÖcheckbox¶àÑ¡ÑéÖ¤£¬Ê¹ÓÃjquery.validate £¬ ÎÞ·¨ÊµÏÖ×Ô¶¨Òå´íÎóÐÅÏ¢¡£ÉÏÎçLinchun´ø×ÅÎÒÒ»¿é¶ù¿´jquery.validate.js µÄÔ´´úÂ룬·¢ÏÖÓÅÐãµÄ´úÂëÕæµÄÊǶÔJavaScriptÓõį»ð´¿Çà~ :)
delete ÔËËã·û£º
ÊÇECMAScriptÒ»ÔªÔËËã·û¡£Ò»ÔªÔËËã·ûÖ»ÓÐÒ»¸ö²ÎÊý£¬¼´Òª²Ù×÷µÄ¶ÔÏó»òÖµ¡£ËüÃÇÊÇ ......
1.Îı¾¿ò
1.1 <input type="text" name="test" id="test">
ͨ¹ývar t=document.getElementById("test").value°ÑÖµ¸³¸ø±äÁ¿t,
1.2 µ±È»Ò²¿ÉÒÔ·´¹ýÀ´°ÑÒÑÖªµÄ±äÁ¿Öµ¸³¸øÎı¾¿ò£¬ÀýÈ磺
var m = "5";
document.getElementById("test").value= m;
2.ÏÂÀÁбí¿ò
2.1 <select name="sel" id="sel" onchange ......
ÓÃJavascriptÈ¡floatÐÍСÊýµãºóÁ½Î»£¬Àý22.127456È¡³É22.13,ÈçºÎ×ö£¿
1. ×µÄ°ì·¨....... [ÎÒ¾ÍÔõô¸ÉµÄ.........]
function get()
{
var s = 22.127456 + "";
var str = s.substring(0,s.indexOf(".") + 3);
alert(str);
}
2. ÕýÔò±í´ïʽЧ¹ ......