˸ø¾ßÌå½âÊͽâÊÍ
ÔÙÀ´¼¸¸öÀý×Ó£¡~
221.<BR><SPAN style="FONT-SIZE: 18pt">ʾÀý</SPAN>
222.<BR>ÏÂÃæµÄʾÀý´´½¨Ò»¸ö°üº¬ÕýÔò±í´ïʽģʽ¼°Ïà¹Ø±êÖ¾µÄ¶ÔÏó(re)£¬ÏòÄúÑÝʾÕýÔò±í´ïʽ¶ÔÏóµÄÓ÷¨¡£ÔÚ±¾ÀýÖУ¬×÷Ϊ½á¹ûµÄÕýÔò±í´ïʽ¶ÔÏóÓÖÓÃÓÚ match ·½·¨ÖУº
223.< ......
ÇëÎÊÔÚjsÖÐͨ¹ýÄĸö·½·¨µ÷ÓÃÕýÔò±í´ïʽ×öÑéÖ¤ÄØ?
1.±ÈÈçÎÒÏÖÔÚÏë×öÒ»¸ö·Ç¿ÕÑéÖ¤
function check() {
var str = document.myform.txtUser.value;
//È¡µ½valueÒÔºó½ÓÏÂÀ´ÈçºÎÓÃÕýÔò±í´ïʽÑéÖ¤ÄØ?
}
2.ͬÑùÊÇ×öÒ»¸ö·Ç¿ÕÑéÖ¤, Õâ¸öÓ¦¸Ã²»ÓÃÕýÔò±í´ïʽµÄ°É?
Åжϵ¥Ñ¡°´Å¥(ÄÐÅ®, ±ØÐëҪѡÔñÒ»¸ö)ºÍ¶àÑ¡Ïî¿ ......
±¾ÈËÏë¸ü½øÒ»²½Ñ§Ï°JavaScript£¬¶ÔÆä½øÐÐÉîÈëÁ˽ⲢÏëѧϰһдÁ÷Ðпò¼ÜµÄʹÓã¬ÇëÎʸ÷λ´óÏÀÓÐʲôÍƼöÂð£¿
javascriptȨÍþÖ¸ÄÏ
лл£¬ÎһῼÂǵÄ
JSȨÍþÖ¸ÄϺܺÃ
ÎÒÕýÔÚ¿´
ͬÑù¹ØÓÚÆäËûÊé¼®
×îºÃÓÐÏÂÔصØÖ·
ÄÄλºÃÐÄÈË»¹ÓÐÏà¹ØÊé¼®Âé·³·¢µ½ÓÊÏä
liuzuowei051402@163.com
30ÈÕѧ»áJS
JavaScrip ......
ÎÒÏë¸ù¾ÝÐèÒªÒþ²Ø»òÕßÏÔʾһ¸ö<table>ÖеÄÒ»¸ö<td>µÄÄÚÈÝ¡£
ËùÒÔ£¬ÎÒдÁËÒ»¸öÕâÑùµÄº¯ÊýhideOrShow(id)
id¾ÍÊÇÕâ¸ö<td>µÄid£¨ <td align="center" id="cellAddNewOption" style="display:none"> £©£»
µÚÒ»´ÎÊÇÕâÑùµÄ£º
JScript code:
// Çл»¡°¿ÉÑ ......
È¥³ýÊý×éÖеÄÖظ´ÔªËØ£¬JS´úÂ룺
JScript code:
Array.prototype.removeDupl = function() {
var len = this.length;
var tmpAry = [];
loop1: while (len--) {
var tmpE = this.shift();
loop2: for ( var i in tmpAry) {
if (tmpAry[i] === tmpE) {
c ......
ÒÔÏÂÍøÒ³Ô´´úÂëÔÚFirefox¡¢Chrome¶¼Õý³££¬µ«µ½IE6¾Í²»ÐÐÁË£¬ºÎ½âÄØ£¿Âé·³´óÏÀÖ¸µãÖ¸µã£¡Ð»ÁË£¡Ï£Íû±£ÁôUTF8±àÂë~
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999 ......
×ܼǼÊý:938; ×ÜÒ³Êý:157; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [2] [3] [4] [5] 6
[7] [8] [9] [10] [11] ÏÂÒ»Ò³ βҳ