Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Javascript »ñÈ¡radiobuttonlist£¨µ¥Ñ¡¿ò£©µÄÖµ

Javascript  »ñÈ¡radiobuttonlist£¨µ¥Ñ¡¿ò£©µÄÖµ
 function check() {
                var RadioButtonList1 = document.getElementById('<%=RadioButtonList1.ClientID%>');
                var rbs = RadioButtonList1.getElementsByTagName("INPUT");
                for(var i = 0;i<rbs.length;i++) {
                    if (rbs[i].checked) {
                        var text = RadioButtonList1.cells[i].innerText;
                        var value=rbs[i].value;
                        alert(value + text);
                     }
                }


Ïà¹ØÎĵµ£º

Javascript ÕýÔò±í´ïʽʹÓÃÊÖ²á

Javascript ÕýÔò±í´ïʽʹÓÃÊÖ²á
Javascript   2008-10-30 10:15   ÔĶÁ97   ÆÀÂÛ0  
×ֺţº ´ó´ó  ÖÐÖР СС
Ò»£®ÕýÔò±í´ïʽƥÅä³£ÓÃÓï·¨
“+”×Ö·û£º¹æ¶¨±í´ïʽ×Ö·û³öÏÖÒ»´Î»ò¶à´Î¡£
“*”×Ö·û£º¹æ¶¨±í´ïʽ×Ö·û³öÏÖÁã´Î»ò¶à´Î¡£
“? ......

javascript²Ù×÷Cookies

javascript²Ù×÷Cookies·½·¨¼¯½õ
function setCookie(name,value)
{
  var Days = 1; //´Ë cookie ½«±»±£´æ 1 Ìì
  var exp  = new Date();    //new Date("December 31, 9998");
  exp.setTime(exp.getTime() + Days*24*60*60*1000);
  document.cookie = name + ......

vbscriptºÍjavascript»¥Ïàµ÷Ó÷½·¨


  
¹Ø¼ü×Ö     vbscript,javascript,µ÷Óà
  
vbscriptºÍjavascript»¥Ïàµ÷Ó÷½·¨
¡¡¡¡ASP¾ß±¸¹ÜÀí²»Í¬ÓïÑԽű¾³ÌÐòµÄÄÜÁ¦£¬Äܹ»×Ô¶¯µ÷ÓúÏÊʵĽű¾ÒýÇæÒÔ½âÊͽű¾´úÂëºÍÖ´ÐÐÄÚÖú¯Êý¡£ASP¿ª·¢»·¾³ÌṩÁËÁ½Öֽű¾ÒýÇ棬¼´VBScript£¨È±Ê¡£©ºÍJScript¡£²»¹ý£¬¿ª·¢Õß² ......

javascriptÔÚ´«µÝurl£¨º¬ÓÐÖÐÎÄ£©Ê±³öÏÖÂÒÂë


´ó¼Ò¿ÉÄܶ¼Óöµ½¹ýÔÚдjavascirpt´úÂëʱ´«µÝÖÐÎÄ£¬ÔÚºǫ́ȡµ½Ê±·¢ÏÖÊÇÂÒÂ룬ÕâÀï°ÑÎÒ½ñÌì×öµÄ·½·¨Ð´³öÀ´£¬Ï£Íû¶Ô´ó¼ÒÒÔºóÓÐÓã¡
·½·¨£¨Ò»£©£º
htmlÒ³Ã棺
function testOne() {
   var url = "testOne_test.do?expr="+ÄãºÃ;
   location = encodeURI(url);
}
ºǫ́java´úÂ룺
String expr = ne ......

JavaScriptÖÐÊý×é·½·¨

shift£ºÉ¾³ýÔ­Êý×éµÚÒ»Ï²¢·µ»Øɾ³ýÔªËصÄÖµ£»Èç¹ûÊý×éΪ¿ÕÔò·µ»Øundefined
var a = [1,2,3,4,5];
var b = a.shift(); //a£º[2,3,4,5]  b£º1
unshift£º½«²ÎÊýÌí¼Óµ½Ô­Êý×鿪ͷ£¬²¢·µ»ØÊý×éµÄ³¤¶È
var a = [1,2,3,4,5];
var b = a.unshift(-2,-1); //a£º[-2,-1,1,2,3,4,5]  b£º7
×¢£ºÔÚIE6.0ϲ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ