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

javascript &cssʵÏֵij¤ÎÄÕ·ÖÒ³

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>FLYSO Blog-- JS´úÂëʵÏÖµÄ×Ô¶¯·ÖҳЧ¹û~!</TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<mce:style><!--
* {
font-size:10.2pt;
font-family:tahoma;
line-height:150%;
}
.divContent
{
border:1px solid red;
background-color:#FFD2D3;
width:500px;
word-break:break-all;
margin:10px 0px 10px;
padding:10px;
}
--></mce:style><style mce_bogus="1">* {
font-size:10.2pt;
font-family:tahoma;
line-height:150%;
}
.divContent
{
border:1px solid red;
background-color:#FFD2D3;
width:500px;
word-break:break-all;
margin:10px 0px 10px;
padding:10px;
}</style>
</HEAD>
<BODY>
header
<div id="divPagenation"></div>
<div id="divContent"></div>
footer
<SCRIPT LANGUAGE="JavaScript">
<!--
s="<p>Å®ÀÏʦ½ßÁ¦Ïòº¢×ÓÃÇÖ¤Ã÷£¬Ñ§Ï°ºÃ¹¦¿ÎµÄÖØÒªÐÔ¡£ </p><p>Ëý˵£º“Å£¶Ù×øÔÚÊ÷Ï£¬ÑÛ¾¦¶¢×ÅÊ÷ÔÚ˼¿¼£¬Õâʱ£¬ÓÐÒ»¸öÆ»¹ûÂäÔÚËûµÄÍ·ÉÏ£¬ÓÚÊÇËû·¢ÏÖÁËÍòÓÐÒýÁ¦¶¨ÂÉ£¬º¢×ÓÃÇ£¬ÄãÃÇÏëÏë¿´£¬×öһλΰ´óµÄ¿Æѧ¼Ò¶àôºÃ£¬¶àôÉñÆø°¡£¬ÒªÏë×öµ½ÕâÒ»µã£¬¾Í±ØÐëºÃºÃѧϰ¡£” </p><p>“°àÉÏÒ»¸öµ÷Ƥ¹í¶Ô´Ë²¢²»ÂúÒâ¡£Ëû˵£º“ÐËÐíÊÇÕâÑù£¬¿ÉÊÇ£¬¼ÙÈçËû×øÔÚѧУÀÂñÍ·Êé±¾£¬ÄÇËû¾ÍʲôҲ·¢ÏÖ²»ÁËÀ²¡£” </p><p>Å®ÀÏʦ½ßÁ¦Ïòº¢×ÓÃÇÖ¤Ã÷£¬Ñ§Ï°ºÃ¹¦¿ÎµÄÖØÒªÐÔ¡£ </p><p>Ëý˵£º“Å£¶Ù×øÔÚÊ÷Ï£¬ÑÛ¾¦¶¢×ÅÊ÷ÔÚ˼¿¼£¬Õâʱ£¬ÓÐÒ»¸öÆ»¹ûÂäÔÚËûµÄÍ·ÉÏ£¬ÓÚÊÇËû·¢ÏÖÁËÍòÓÐÒýÁ¦¶¨ÂÉ£¬º¢×ÓÃÇ£¬ÄãÃÇÏëÏë¿´£¬×öһλΰ´óµÄ¿Æѧ¼Ò¶àôºÃ£¬¶àôÉñÆø°¡£¬ÒªÏë×öµ½ÕâÒ»µã£¬¾Í±ØÐëºÃºÃѧϰ¡£” </p><p>“°àÉÏÒ»¸öµ÷Ƥ¹í¶Ô´Ë²¢²»ÂúÒâ¡£Ëû˵£º“ÐËÐíÊÇÕâÑù£¬¿ÉÊÇ£¬¼ÙÈçËû×øÔÚѧУÀÂñÍ·Êé±¾£¬ÄÇËû¾ÍʲôҲ·¢ÏÖ²»ÁË


Ïà¹ØÎĵµ£º

µ¥ÒýºÅ,Ë«ÒýºÅ,javascript,HTML,תÒå×Ö·û

ÔÚÒ»¸öÍøÒ³Öеİ´Å¥£¬Ð´onclickʼþµÄ´¦Àí´úÂ룬²»Ð¡ÐÄд³ÉÈçÏ£º
<input value="Test" type="button" onclick="alert(""OK"");" />
IEÌáʾ³ö´íºó£¬ÔÙÂþ²»¾­ÐĵظÄΪ£º
<input value="Test" type="button" onclick="alert(\"OK\");" />
½á¹û»¹Êdzö´í¡£
Õâʱ£¬ÎÒ¾ÍÏ벻ͨÁË£¬ËäÈ»ÎÒÖªµÀ×îÖ±½ÓµÄ½â¾ö·½·¨ ......

Javascript ÄäÃûº¯Êý¼°Æä´úÂëģʽԭÀí

֮ǰ¿´ÁËÓйØÄäÃûº¯ÊýµÄµ÷Ó㬸оõÓбØÒªºÍ´ó¼Ò·ÖÏíһϡ£
¹ØÓÚʲôÊÇÄäÃûº¯Êý£¬¼°Ëü´øÀ´µÄÓÅÊÆÔÚ±¾ÎľͲ»ÉÁË£¬ÏÈÅ׳öÒ»¸ö³£ÓõÄÄäÃûº¯Êý£º
(function(){alert('yo')})()
ºÜ¶àͬѧ֪µÀÔõôÓÃÕâÖÖÄäÃûº¯Êý£¬È´»òÐí²¢²»Ã÷°×ΪʲôÕâÑùд¾ÍÄܹ»µ÷ÓÃÄäÃûº¯Êý¡£Ò²ÐíÖªµÀºóÃæµÄÔ²À¨ºÅÊÇÖ´ÐÐÇ°ÃæµÄº¯Êý£¬¶ø²¢²»Çå³þÇ°ÃæµÄÔ² ......

JavaScript_»ñÈ¡Îļþ´óС

ºÜ¶àÇé¿öÏ£¬ÎÒÃÇÒªÔÚ·¢Ë͵½ºǫ́´¦ÀíÇ°£¬ÅжÏÒ»ÏÂËùÉÏ´«µÄÎļþÊDz»ÊÇ·ûºÏ´óСҪÇó£¬Æäʵ½Å±¾¿ÉÒԺܷ½±ãµÄ°ïÖúÎÒÃÇʵÏÖ£¬´úÂëÈçÏÂ
<html>
<head>
<title>JavaScript_»ñÈ¡Îļþ´óС_°¢·½Ë÷</title>
</head>
<body>
<input type="file" name="file1" id="file1" size="40" onchan ......

JavaScript replace() ·½·¨

JavaScript replace() ·½·¨
JavaScript String ¶ÔÏó²Î¿¼ÊÖ²á
¶¨ÒåºÍÓ÷¨
replace() ·½·¨ÓÃÓÚÔÚ×Ö·û´®ÖÐÓÃһЩ×Ö·ûÌæ»»ÁíһЩ×Ö·û£¬»òÌæ»»Ò»¸öÓëÕýÔò±í´ïʽƥÅäµÄ×Ó´®¡£
Óï·¨
stringObject.replace(regexp,replacement)
²ÎÊýÃèÊö
regexp
±ØÐè¡£¹æ¶¨ÁËÒªÌæ»»µÄģʽµÄ RegExp ¶ÔÏó¡£Çë×¢Ò⣬Èç¹û¸ÃÖµÊÇÒ»¸ö×Ö·û´®£¬Ôò½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ