锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品无播放器在线播放 ,亚洲成AV人在线观看网址,国产精品亚洲一区二区三区在线观看http://www.tkk7.com/bnlovebn/category/19433.html銆婂懆鏄撱嬫洶錛?lt;br> 澶╄鍋ワ紝鍚涘瓙浠ヨ嚜寮轟笉鎭?涔懼崷)<br> 鍦板娍鍧わ紝鍚涘瓙浠ュ帤寰瘋澆鐗?鍧ゅ崷) zh-cnSat, 03 May 2008 02:53:18 GMTSat, 03 May 2008 02:53:18 GMT60瑙e喅JS欏甸潰璺寵漿ie,firefox,opera涓嶅吋瀹歸棶棰?/title><link>http://www.tkk7.com/bnlovebn/archive/2008/04/30/197468.html</link><dc:creator>閲嶅綊鏈瀿錛圔ing錛?/dc:creator><author>閲嶅綊鏈瀿錛圔ing錛?/author><pubDate>Wed, 30 Apr 2008 03:12:00 GMT</pubDate><guid>http://www.tkk7.com/bnlovebn/archive/2008/04/30/197468.html</guid><wfw:comment>http://www.tkk7.com/bnlovebn/comments/197468.html</wfw:comment><comments>http://www.tkk7.com/bnlovebn/archive/2008/04/30/197468.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bnlovebn/comments/commentRss/197468.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bnlovebn/services/trackbacks/197468.html</trackback:ping><description><![CDATA[涓鐢ㄦ垜浠殑欏甸潰璺寵漿閮戒嬌鐢紝window.location.reload()銆?br /> 浣嗗湪firefox,opera榪欐牱涓嶈錛屾浛浠d嬌鐢╳indow.location.href="";灝卞彲浠ヤ簡(jiǎn) <br /> <br /> <span style="font-size: 8pt"><br /> ---------------------------------------------------------------------<a href="http://www.tkk7.com/bnlovebn/"><span style="font-size: 8pt"><br /> 澶╄閿紝鍚涘瓙褰撹嚜寮轟笉鎭?/span></a></span> <img src ="http://www.tkk7.com/bnlovebn/aggbug/197468.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bnlovebn/" target="_blank">閲嶅綊鏈瀿錛圔ing錛?/a> 2008-04-30 11:12 <a href="http://www.tkk7.com/bnlovebn/archive/2008/04/30/197468.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>js鎴彇瀛楃涓茬殑鏂規(guī)硶http://www.tkk7.com/bnlovebn/archive/2008/04/14/192664.html閲嶅綊鏈瀿錛圔ing錛?/dc:creator>閲嶅綊鏈瀿錛圔ing錛?/author>Mon, 14 Apr 2008 02:07:00 GMThttp://www.tkk7.com/bnlovebn/archive/2008/04/14/192664.htmlhttp://www.tkk7.com/bnlovebn/comments/192664.htmlhttp://www.tkk7.com/bnlovebn/archive/2008/04/14/192664.html#Feedback0http://www.tkk7.com/bnlovebn/comments/commentRss/192664.htmlhttp://www.tkk7.com/bnlovebn/services/trackbacks/192664.htmlJS鎻愪緵涓や釜鎴彇瀛楃涓茬殑鏂規(guī)硶,鍒嗗埆鏄?slice()鍜宻ubstring()
slice鍜宻ubstring閮藉彲浠ユ帴鍙椾竴涓垨涓や釜鍙傛暟,絎?涓弬鏁版槸鑾峰彇瑕佹埅鍙栫殑瀛楃涓茬殑鐩村浣嶇疆,絎?涓弬鏁板鏋滀笉涓虹┖鍒欐槸鑾峰彇瑕佹埅鍙栫殑瀛楃涓茬殑緇撴潫浣嶇疆鐨勫墠涓浣嶏紙涔熷氨鏄鑾峰彇鐨勭粓鐐逛綅緗笉鍦ㄨ繑鍥炲煎唴錛?涓虹┖琛ㄧず鎴彇鍒版暣涓瓧絎︿覆鐨勬渶鍚庝竴涓瓧絎︺?br /> 鎴戜滑鏉ョ湅涓嬩袱縐嶆柟娉曠殑鐢ㄦ硶
娉ㄦ剰錛氬瓧絎︿覆鐨勪綅鏁伴兘鏄粠0寮濮?br /> <script language="javascript">
var stmp = "rcinn.cn";
//浣跨敤涓涓弬鏁?br /> alert(stmp.slice(3));//浠庣4涓瓧絎﹀紑濮?鎴彇鍒版渶鍚庝釜瀛楃;榪斿洖"nn.cn"
alert(stmp.substring(3));//浠庣4涓瓧絎﹀紑濮?鎴彇鍒版渶鍚庝釜瀛楃;榪斿洖"nn.cn"
//浣跨敤涓や釜鍙傛暟
alert(stmp.slice(1,5))//浠庣2涓瓧絎﹀紑濮嬶紝鍒扮5涓瓧絎︼紱榪斿洖"cinn"
alert(stmp.substring(1,5));//浠庣2涓瓧絎﹀紑濮嬶紝鍒扮5涓瓧絎︼紱榪斿洖"cinn"
//濡傛灉鍙敤涓涓弬鏁板茍涓斾負(fù)0鐨勮瘽錛岄偅涔堣繑鍥炴暣涓弬鏁?br /> alert(stmp.slice(0));//榪斿洖鏁翠釜瀛楃涓?br /> alert(stmp.substring(0));//榪斿洖鏁翠釜瀛楃涓?br /> //閭e浣曞彧鍙嶅洖絎竴涓瓧絎﹀憿錛屽彲浠ョ敤鍏跺畠鐨勫嚱鏁幫紝閭e鏋滀竴瀹氳鐢ㄨ繖涓や釜鏂規(guī)硶鐨勮瘽灝辨寚瀹氱涓涓弬鏁頒負(fù)0錛岀浜屼釜鍙傛暟涓?,鐪嬩笅闈㈢殑渚嬪瓙
alert(stmp.slice(0,1));//榪斿洖"r"
alert(stmp.substring(0,1));//榪斿洖"r"
//鍦ㄤ笂闈㈢殑渚嬪瓙涓垜浠彲浠ョ湅鍑簊lice()鍜宻ubstring()鐨勭敤娉曟槸鐩稿悓鐨勶紝榪斿洖鐨勫間篃鏄竴鏍風(fēng)殑錛屼絾褰撳弬鏁頒負(fù)璐熸暟鏃訛紝浠栦滑鐨勮繑鍥炲煎嵈涓嶄竴鏍鳳紝鐪嬩笅闈㈢殑渚嬪瓙
alert(stmp.slice(2,-5));//榪斿洖"i"
alert(stmp.substring(2,-5));//榪斿洖"rc"
//浠庝笂闈袱涓緥瀛愬彲浠ョ湅鍑簊lice(2,-5)瀹為檯涓婃槸slice(2,3)錛岃礋5杞崲鎴愭3錛涜宻ubstring(2,-5)瀹為檯涓婃槸substring(2,0)錛岃礋鏁拌漿鎹負(fù)0錛宻wubstring鎬繪槸鎶婃渶灝忕殑鏁頒綔涓鴻搗濮嬩綅緗?br /> </script>
鏈枃杞嚜鍙彲鍦ㄧ嚎(http://www.rcinn.cn),璇︾粏鍑哄鍙傝冿細(xì)http://www.rcinn.cn/news.asp?id=646

 



]]>
Struts+FCKeditor淇敼璇誨彇鐨刪tml鏂囨湰http://www.tkk7.com/bnlovebn/archive/2007/07/25/132216.html閲嶅綊鏈瀿錛圔ing錛?/dc:creator>閲嶅綊鏈瀿錛圔ing錛?/author>Wed, 25 Jul 2007 02:06:00 GMThttp://www.tkk7.com/bnlovebn/archive/2007/07/25/132216.htmlhttp://www.tkk7.com/bnlovebn/comments/132216.htmlhttp://www.tkk7.com/bnlovebn/archive/2007/07/25/132216.html#Feedback0http://www.tkk7.com/bnlovebn/comments/commentRss/132216.htmlhttp://www.tkk7.com/bnlovebn/services/trackbacks/132216.html<bean:write銆榛樿鐨刦ilter鏄痶rue銆傝〃紺烘妸html鏁忔劅鏍囩杞崲鎴愯漿鎹㈡垚瀹冧滑瀹炰綋鐨勭瓑浠風(fēng)墿銆傚<杞崲鎴?amp;lt銆傝涓篺alse鍒欎笉杞崲銆?/span>
         <FCK:editor id="classContent" basePath="/ECR_WWW/FCKeditor/"
         width
="500"
         height
="500"
         skinPath
="/ECR_WWW/FCKeditor/editor/skins/silver/"
         
>
         
         
<bean:write name="articleAdminForm" property="classContent" filter="false"/>
        
</FCK:editor>


]]>
FCKeditor2.4 JSP鐗堜嬌鐢╗杞琞 http://www.tkk7.com/bnlovebn/archive/2007/07/24/132119.html閲嶅綊鏈瀿錛圔ing錛?/dc:creator>閲嶅綊鏈瀿錛圔ing錛?/author>Tue, 24 Jul 2007 09:58:00 GMThttp://www.tkk7.com/bnlovebn/archive/2007/07/24/132119.htmlhttp://www.tkk7.com/bnlovebn/comments/132119.htmlhttp://www.tkk7.com/bnlovebn/archive/2007/07/24/132119.html#Feedback1http://www.tkk7.com/bnlovebn/comments/commentRss/132119.htmlhttp://www.tkk7.com/bnlovebn/services/trackbacks/132119.html1.涓嬭澆
FCKeditor2.3 (FCKeditot for java)
FCKeditor2.4 (FCKeditor鍩烘湰鏂囦歡)
浠ヤ笅鏄笅杞藉湴鍧錛?br>http://www.fckeditor.net/download/default.html

2.寤虹珛欏圭洰:
寤虹珛欏圭洰tomcat/webapps/TestFCKeditor.

3.灝咶CKeditor2.4瑙e帇緙?br>灝咶CKeditor2.4瑙e帇緙?灝嗘暣涓洰褰旻CKeditor澶嶅埗鍒伴」鐩殑鏍圭洰褰曚笅錛屽茍灝嗚В鍘嬬緝鍑烘潵鐨勬枃浠跺すfckeditor閲嶅懡鍚嶄負(fù)FCKeditor
鐩綍緇撴瀯涓猴細(xì)tomcat/webapps/TestFCKeditor/FCKeditor
鐒跺悗灝咶CKeditor-2.3.zip錛坖ava錛夊帇緙╁寘涓璡web\WEB-INF\lib\鐩綍涓嬬殑涓や釜jar鏂囦歡鎷峰埌欏圭洰鐨刓WEB-INF\ lib\鐩綍涓嬨傛妸鍏朵腑鐨剆rc鐩綍涓嬬殑FCKeditor.tld鏂囦歡copy鍒癟estFCKedit/WEB-INF/涓?/p>

4.鍚堝茍web.xml:
灝咶CKeditor-2.3.zip鍘嬬緝鍖呬腑\web\WEB-INF\鐩綍涓嬬殑web.xml鏂囦歡鍚堝茍鍒伴」鐩殑\WEB-INF\鐩綍涓嬬殑web.xml鏂囦歡涓?/p>


5. 淇敼鍚堝茍鍚庣殑web.xml鏂囦歡
淇敼鍚堝茍鍚庣殑web.xml鏂囦歡錛屽皢鍚嶄負(fù)SimpleUploader鐨凷ervlet鐨別nabled鍙傛暟鍊兼敼涓簍rue錛?br>浠ュ厑璁鎬笂浼犲姛鑳斤紝Connector Servlet鐨刡aseDir鍙傛暟鍊肩敤浜庤緗笂浼犳枃浠跺瓨鏀劇殑浣嶇疆銆?br>鍦╳eb.xml鏈鍚庢坊鍔犳爣絳懼畾涔?

<taglib>
    <taglib-uri>/TestFCKeditor</taglib-uri>
    <taglib-location>/WEB-INF/FCKeditor.tld</taglib-location>
 </taglib>

鐜板湪鐨剋eb.xml鏂囦歡娌℃湁<taglib>鏍囩浜?jiǎn)锛屽簲璇ョ洿鎺ュ湪jsp鏂囦歡涓嬌鐢細(xì)<%@ taglib uri="

 

6. 鏄犲皠:
涓婇潰鏂囦歡涓袱涓猻ervlet鐨勬槧灝勫垎鍒負(fù)錛?editor/filemanager/browser/default/connectors/jsp/connector
鍜?editor/filemanager/upload/simpleuploader錛岄渶瑕佸湪涓や釜鏄犲皠鍓嶉潰鍔犱笂/FCKeditor錛?br>鍗蟲(chóng)敼涓?FCKeditor/editor/filemanager/browser/default/connectors/jsp/connector鍜?br>/FCKeditor/editor/filemanager/upload/simpleuploader銆?br>榪欎袱涓悕瀛楁牴鎹綘鏀懼湪宸ョ▼涓殑FCKeditor鏂囦歡澶瑰悕縐拌屽畾銆傘?/p>


7.淇敼skin鏂囦歡澶?br>榪涘叆skin鏂囦歡澶癸紝濡傛灉浣犳兂浣跨敤fckeditor榛樿鐨勮繖縐嶅ザ榛勮壊錛?br>閭e氨鎶婇櫎浜?jiǎn)default鏂囦歡澶瑰鐨勫彟涓や釜鏂囦歡澶圭洿鎺ュ垹闄?錛堝緩璁笉鍒犻櫎錛屼互鍚庤鐢ㄥ埌鍏朵腑鐨勪竴涓枃浠跺す錛?/p>

8.鍒犻櫎鏃犵敤鏂囦歡
鍒犻櫎/FCKeditor/鐩綍涓嬮櫎fckconfig.js, fckeditor.js, fckstyles.xml, fcktemplates.xml鍥涗釜鏂囦歡浠ュ鐨勬墍鏈夋枃浠訛紝淇濈暀鏂囦歡澶筫ditor
鍒犻櫎鐩綍/editor/_source,
鍒犻櫎/editor/filemanager/browser/default/connectors/涓嬬殑鎵鏈夋枃浠?br>鍒犻櫎/editor/filemanager/upload/涓嬬殑鎵鏈夋枃浠?br>鍒犻櫎/editor/lang/涓嬬殑闄や簡(jiǎn)fcklanguagemanager.js錛堟垜涓嬭澆鐨勬病鏈夎繖涓枃浠訛級(jí), en.js, zh.js, zh-cn.js鍥涗釜鏂囦歡鐨勬墍鏈夋枃浠?/p>

9.淇敼閰嶇疆錛?br>鎵撳紑/FCKeditor/fckconfig.js
淇敼 FCKConfig.DefaultLanguage = 'zh-cn' ;
鎶奆CKConfig.LinkBrowserURL絳夌殑鍊兼浛鎹㈡垚浠ヤ笅鍐呭錛?br>FCKConfig.LinkBrowserURL
= FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/jsp/connector" ;

FCKConfig.ImageBrowserURL
= FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector" ;

FCKConfig.FlashBrowserURL
= FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector" ;

FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=File' ;
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=Flash' ;
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=Image' ;

10.鍏跺畠
fckconfig.js鎬婚厤緗枃浠訛紝鍙敤璁板綍鏈墦寮錛屼慨鏀瑰悗灝嗘枃浠跺瓨?shù)负utf-8 緙栫爜鏍煎紡銆傛壘鍒幫細(xì)

FCKConfig.TabSpaces = 0 ; 鏀逛負(fù)FCKConfig.TabSpaces = 1 ; 鍗沖湪緙栬緫鍣ㄥ煙鍐呭彲浠ヤ嬌鐢═ab閿?/p>

濡傛灉浣犵殑緙栬緫鍣ㄨ繕鐢ㄥ湪緗戠珯鍓嶅彴鐨勮瘽錛屾瘮濡傝鐢ㄤ簬鐣欒█鏈垨鏄棩璁板洖澶嶆椂錛岄偅灝變笉寰椾笉鑰冭檻瀹夊叏浜?jiǎn)锛?br>鍦ㄥ墠鍙板崈涓囦笉瑕佷嬌鐢―efault鐨則oolbar錛岃涔堣嚜瀹氫箟涓涓嬪姛鑳斤紝瑕佷箞灝辯敤緋葷粺宸茬粡瀹氫箟濂界殑Basic錛?br>涔熷氨鏄熀鏈殑toolbar錛屾壘鍒幫細(xì)
FCKConfig.ToolbarSets["Basic"] = [
['Bold','Italic','-','OrderedList','UnorderedList','-',/*'Link',*/'Unlink','-','Style','FontSize','TextColor','BGColor','-',
'Smiley','SpecialChar','Replace','Preview'] ] ;
榪欐槸鏀硅繃鐨凚asic錛屾妸鍥懼儚鍔熻兘鍘繪帀錛屾妸娣誨姞閾炬帴鍔熻兘鍘繪帀錛屽洜涓哄浘鍍忓拰閾炬帴鍜宖lash鍜屽浘鍍忔寜閽坊鍔犲姛鑳介兘鑳借鍓嶅彴
欏電洿鎺ヨ闂拰涓婁紶鏂囦歡錛?fckeditor榪樻敮鎸佺紪杈戝煙鍐呯殑榧犳爣鍙抽敭鍔熻兘銆?/p>

FCKConfig.ContextMenu = ['Generic',/*'Link',*/'Anchor',/*'Image',*/'Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField',
/*'ImageButton',*/'Button','BulletedList','NumberedList','TableCell','Table','Form'] ;

榪欎篃鏄敼榪囩殑鎶婇紶鏍囧彸閿殑“閾炬帴銆佸浘鍍忥紝FLASH錛屽浘鍍忔寜閽?#8221;鍔熻兘閮藉幓鎺夈?/p>

銆銆鎵懼埌錛?FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
鍔犱笂鍑犵鎴戜滑甯哥敤鐨勫瓧浣?br>FCKConfig.FontNames
= '瀹嬩綋;榛戜綋;闅朵功;妤蜂綋_GB2312;Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;


11.娣誨姞鏂囦歡
娣誨姞鏂囦歡 /TestFCKeditor/test.jsp:
<%@ page language="java" import="com.fredck.FCKeditor.*" %>
<%@ taglib uri="/TestFCKeditor" prefix="FCK" %>
<script type="text/javascript" src="/TestFCKeditor/FCKeditor/fckeditor.js"></script>

<%--
涓夌鏂規(guī)硶璋冪敤FCKeditor
1.FCKeditor鑷畾涔夋爣絳?(蹇呴』鍔犲ご鏂囦歡 <%@ taglib uri="/TestFCKeditor" prefix="FCK" %> )
2.script鑴氭湰璇█璋冪敤 (蹇呴』寮曠敤 鑴氭湰鏂囦歡 <script type="text/javascript" src="/TestFCKeditor/FCKeditor/fckeditor.js"></script> )
3.FCKeditor API 璋冪敤 (蹇呴』鍔犲ご鏂囦歡 <%@ page language="java" import="com.fredck.FCKeditor.*" %> )
--%>


//鏍囩璋冪敤鏂瑰紡
<%--
<form action="show.jsp" method="post" target="_blank">
<FCK:editor id="content" basePath="/TestFCKeditor/FCKeditor/"
width="700"
height="500"
skinPath="/TestFCKeditor/FCKeditor/editor/skins/silver/"
toolbarSet = "Default"
>
input
</FCK:editor>
<input type="submit" value="Submit">
</form>
--%>


//JS璋冪敤鏂瑰紡
<form action="show.jsp" method="post" target="_blank">
<table border="0" width="700"><tr><td>
<textarea id="content" name="content" style="WIDTH: 100%; HEIGHT: 400px">input</textarea>
<script type="text/javascript">
var oFCKeditor = new FCKeditor('content') ;
oFCKeditor.BasePath = "/TestFCKeditor/FCKeditor/" ;
oFCKeditor.Height = 400;
oFCKeditor.ToolbarSet = "Default" ;
oFCKeditor.ReplaceTextarea();
</script>
<input type="submit" value="Submit">
</td></tr></table>
</form>


//FCKeditor API 璋冪敤
<%--
<form action="show.jsp" method="post" target="_blank">
<%
FCKeditor oFCKeditor ;
oFCKeditor = new FCKeditor( request, "content" ) ;
oFCKeditor.setBasePath( "/TestFCKeditor/FCKeditor/" ) ;
oFCKeditor.setValue( "input" );
out.println( oFCKeditor.create() ) ;
%>
<br>
<input type="submit" value="Submit">
</form>
--%>

娣誨姞鏂囦歡/TestFCKeditor/show.jsp:
<%
String content = request.getParameter("content");
out.print(content);
%>

 


12.嫻嬭瘯
嫻忚
http://localhost:8080/TestFCKeditor/test.jsp


鏈鍚庢敞鎰忋傘備笉鍚岀殑鐗堟湰 鍙橀噺鍚嶇О鍙兘涓嶄竴鏍楓傝鍙傝冧綘浣跨敤鐨凙PI鏂囨。

閰嶇疆閫夐」:

AutoDetectLanguage=true/false 鑷姩媯(gè)嫻嬭璦
BaseHref="" 鐩稿閾炬帴鐨勫熀鍦板潃
ContentLangDirection="ltr/rtl" 榛樿鏂囧瓧鏂瑰悜
ContextMenu=瀛楃涓叉暟緇?鍙抽敭鑿滃崟鐨勫唴瀹?br>CustomConfigurationsPath="" 鑷畾涔夐厤緗枃浠惰礬寰勫拰鍚嶇О
Debug=true/false 鏄惁寮鍚皟璇曞姛鑳?榪欐牱,褰撹皟鐢‵CKDebug.Output()鏃?浼?xì)鍦ㄨ皟璇暯H椾腑杈撳嚭鍐呭
DefaultLanguage="" 緙虹渷璇█
EditorAreaCss="" 緙栬緫鍖虹殑鏍峰紡琛ㄦ枃浠?br>EnableSourceXHTML=true/false 涓篢RUE鏃?褰撶敱鍙鍖栫晫闈㈠垏鎹㈠埌浠g爜欏墊椂,鎶奌TML澶勭悊鎴怷HTML
EnableXHTML=true/false 鏄惁鍏佽浣跨敤XHTML鍙栦唬HTML
FillEmptyBlocks=true/false 浣跨敤榪欎釜鍔熻兘,鍙互灝嗙┖鐨勫潡綰у厓绱犵敤絀烘牸鏉ユ浛浠?br>FontColors="" 璁劇疆鏄劇ず棰滆壊鎷懼彇鍣ㄦ椂鏂囧瓧棰滆壊鍒楄〃
FontFormats="" 璁劇疆鏄劇ず鍦ㄦ枃瀛楁牸寮忓垪琛ㄤ腑鐨勫懡鍚?br>FontNames="" 瀛椾綋鍒楄〃涓殑瀛椾綋鍚?br>FontSizes="" 瀛椾綋澶у皬涓殑瀛楀彿鍒楄〃
ForcePasteAsPlainText=true/false 寮哄埗綺樿創(chuàng)涓虹函鏂囨湰
ForceSimpleAmpersand=true/false 鏄惁涓嶆妸&絎﹀彿杞崲涓篨ML瀹炰綋
FormatIndentator="" 褰撳湪婧愮爜鏍煎紡涓嬬緝榪涗唬鐮佷嬌鐢ㄧ殑瀛楃
FormatOutput=true/false 褰撹緭鍑哄唴瀹規(guī)椂鏄惁鑷姩鏍煎紡鍖栦唬鐮?br>FormatSource=true/false 鍦ㄥ垏鎹㈠埌浠g爜瑙嗗浘鏃舵槸鍚﹁嚜鍔ㄦ牸寮忓寲浠g爜
FullPage=true/false 鏄惁鍏佽緙栬緫鏁翠釜HTML鏂囦歡,榪樻槸浠呭厑璁哥紪杈態(tài)ODY闂寸殑鍐呭
GeckoUseSPAN=true/false 鏄惁鍏佽SPAN鏍囪浠f浛B,I,U鏍囪
IeSpellDownloadUrl=""涓嬭澆鎷煎啓媯(gè)鏌ュ櫒鐨勭綉鍧
ImageBrowser=true/false 鏄惁鍏佽嫻忚鏈嶅姟鍣ㄥ姛鑳?br>ImageBrowserURL="" 嫻忚鏈嶅姟鍣ㄦ椂榪愯鐨刄RL
ImageBrowserWindowHeight="" 鍥懼儚嫻忚鍣ㄧ獥鍙i珮搴?br>ImageBrowserWindowWidth="" 鍥懼儚嫻忚鍣ㄧ獥鍙e搴?br>LinkBrowser=true/false 鏄惁鍏佽鍦ㄦ彃鍏ラ摼鎺ユ椂嫻忚鏈嶅姟鍣?br>LinkBrowserURL="" 鎻掑叆閾炬帴鏃舵祻瑙堟湇鍔″櫒鐨刄RL
LinkBrowserWindowHeight=""閾炬帴鐩爣嫻忚鍣ㄧ獥鍙i珮搴?br>LinkBrowserWindowWidth=""閾炬帴鐩爣嫻忚鍣ㄧ獥鍙e搴?br>Plugins=object 娉ㄥ唽鎻掍歡
PluginsPath="" 鎻掍歡鏂囦歡澶?br>ShowBorders=true/false 鍚堝茍杈規(guī)
SkinPath="" 鐨偆鏂囦歡澶逛綅緗?br>SmileyColumns=12 鍥劇紿楀垪鏁?br>SmileyImages=瀛楃鏁扮粍 鍥劇紿椾腑鍥劇墖鏂囦歡鍚嶆暟緇?br>SmileyPath="" 鍥劇鏂囦歡澶硅礬寰?br>SmileyWindowHeight 鍥劇紿楀彛楂樺害
SmileyWindowWidth 鍥劇紿楀彛瀹藉害
SpellChecker="ieSpell/Spellerpages" 璁劇疆鎷煎啓媯(gè)鏌ュ櫒
StartupFocus=true/false 寮鍚椂FOCUS鍒扮紪杈戝櫒
StylesXmlPath="" 璁劇疆瀹氫箟CSS鏍峰紡鍒楄〃鐨刋ML鏂囦歡鐨勪綅緗?br>TabSpaces=4 TAB閿駭鐢熺殑絀烘牸瀛楃鏁?br>ToolBarCanCollapse=true/false 鏄惁鍏佽灞曞紑/鎶樺彔宸ュ叿鏍?br>ToolbarSets=object 鍏佽浣跨敤TOOLBAR闆嗗悎
ToolbarStartExpanded=true/false 寮鍚槸TOOLBAR鏄惁灞曞紑
UseBROnCarriageReturn=true/false 褰撳洖杞︽椂鏄駭鐢烞R鏍囪榪樻槸P鎴栬匘IV鏍囪

瑙e喅涓婁紶涔辯爜:
鍦⊿impleUploaderServlet.java鍜孋onnectorServlet.java涓や釜鏂囦歡閲屾壘鍒?br>DiskFileUpload upload = new DiskFileUpload();
鍒嗗埆鍦ㄥ叾鍚庡姞鍏?upload.setHeaderEncoding("utf-8");
榪欐牱瑙e喅浜?jiǎn)鏂囦欢涓婁紶鐨勪腑鏂囦罐q爜闂.
浣嗘槸鍦ㄦ帶鍒跺彴鏄劇ず鐨勪腑鏂囧唴瀹硅繕鏄貢鐮?浣嗘槸娌″叧緋?鎴戜滑娌″繀瑕佸幓鐪嬫帶鍒跺彴涓嬬殑涓枃

----------------------------------------------------------------another
FCKeditor2.4.2 Java鐗堜嬌鐢ㄨ鏄?br>涓嬭澆鍦板潃浠ュ強(qiáng)鍩烘湰閰嶇疆璇峰弬鑰冿細(xì)http://hi.baidu.com/wain19/blog/item/c33fb0fab74f24dfb48f312d.html

鎴戠殑寮鍙戠幆澧冩槸ubuntu7.04, 緋葷粺榛樿緙栫爜鏄痷tf-8,
鏈熼棿錛屾湰浜洪亣鍒頒簡(jiǎn)涓嬮潰榪欎簺闂錛?/p>

闂?shù)竴錛歑ML request error: Internel Server Error(500)

鍑虹幇閿欒鐨勫湴鏂規(guī)槸鍦細(xì)鐐規(guī)彃鍏ュ浘鐗囷紝鐐笲rowse鎸夐挳鐨勬椂鍊欙細(xì)
XML request error: Internel Server Error(500)

鎵捐祫鏂欙細(xì)http://lamono.javaeye.com/blog/49135
鎷瘋礉xalan.jar鍜宻erialize.jar鍒?WEB-INF/lib錛岄棶棰樿В鍐熾?/p>

FCKeditor-java娌℃湁寰堝ソ鐨勮В鍐充腑鏂囬棶棰樸傞渶瑕佹垜浠慨鏀瑰畠鐨勬簮浠g爜鍚庨噸鏂扮紪璇戞墦鍖呫傛墦鍖呰繃紼嬪涓嬶細(xì)
1銆?鏂板緩涓涓獁eb宸ョ▼鍚嶅瓧涓篎CKeditor-java-2.3錛岀劧鍚庢妸FCKeditor-2.3-java.zip瑙e帇緙╁悗鐨勪唬鐮佹嫹璐濆埌宸ョ▼鐩綍涓嬨?br>2銆傚鏋滄槸鐢ㄧ殑Eclipse,浣跨敤蹇嵎閿瓹trl+Shift+R
鍦⊿impleUploaderServlet.java鍜孋onnectorServlet.java涓や釜鏂囦歡閲屾壘鍒?br>DiskFileUpload upload = new DiskFileUpload();
鍒嗗埆鍦ㄥ叾鍚庡姞鍏?upload.setHeaderEncoding("utf-8");
鐜板湪濡傛灉鐩存帴榪愯ant浠誨姟錛屼細(xì)鎶ヤ笅闈㈢殑閿欒錛?br>taskdef class org.apache.catalina.ant.DeployTask cannot be found

3銆?鎶妕omcat瀹夎鐩綍涓?server/lib涓殑catalina-ant.jar鎷瘋礉鍒?WEB-INF/lib鐩綍 涓嬨?br>4銆?鎵撳紑build.xml
鎵懼埌
<property name="catalina.home"
淇敼鎴愪綘鑷繁鐨則omcat瀹夎鐩綍
<property name="catalina.home"         value="/home/uniquejava/tool/tomcat5028/"/>
鎵懼埌
<taskdef name="deploy"
淇敼鎴愬涓嬪唴瀹?br>     <taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask">
        <classpath refid="compile.classpath">
        </classpath>
    </taskdef>
    <taskdef name="list" classname="org.apache.catalina.ant.ListTask">
        <classpath refid="compile.classpath">
        </classpath>
    </taskdef>
    <taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask">
        <classpath refid="compile.classpath">
        </classpath>
    </taskdef>
    <taskdef name="undeploy" classname="org.apache.catalina.ant.UndeployTask">
        <classpath refid="compile.classpath">
        </classpath>
    </taskdef>

榪愯ant浠誨姟dist, 灝卞彲浠ョ敓鎴愭柊鐨凢CKeditor-2.3.jar鍖?/p>

闂?shù)笁锛?xì) 涓婁紶鏃舵柊寤虹殑涓枃鐩綍鍏ㄩ儴涔辯爜銆?铏界劧涓婁紶鍒版湇鍔″櫒涓婄殑鏂囦歡鍚嶆甯革紝浣嗗湪JSP欏甸潰鐐逛笅杞介摼鎺ユ椂鏂囦歡鍚嶄貢鐮佸鑷翠笉鑳芥甯鎬笅杞姐?/p>

鏌ユ壘璧勬枡錛歍OMCAT 閾炬帴鍙傛暟鏈変腑鏂囨椂錛屼貢鐮佽В鍐蟲(chóng)柟娉?br>    <Connector port="8080"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               debug="0" connectionTimeout="20000"
               disableUploadTimeout="true" URIEncoding="utf-8" />
              
    <Connector port="8009"
               enableLookups="false" redirectPort="8443" debug="0"
               protocol="AJP/1.3" URIEncoding="utf-8" />
              
鏂規(guī)硶浜?
浣跨敤useBodyEncodingForURI="true". 榪欎釜鏂規(guī)硶閫傚悎浣犵殑TOMCAT瀹炰緥涓嬮渶瑕佽窇澶氫釜涓嶅悓Encoding鐨勭▼搴忔椂銆傦紙鏈夌偣鎬鐤戯紵錛侊級(jí)
<... maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
       enableLookups="false" redirectPort="8443" acceptCount="100"
      connectionTimeout="20000" disableUploadTimeout="true" useBodyEncodingForURI="true" />

     enableLookups="false" redirectPort="8443" protocol="AJP/1.3" useBodyEncodingForURI="true" /

鎴戝彧璇曚簡(jiǎn)鏂規(guī)硶涓錛岄棶棰樿В鍐籌紒

榪欐牱, FCKeditor緇堜簬鍙互姝e父浣跨敤浜?jiǎn)銆傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘傘?br>=================================================================
浠ヤ笅涓轟釜浜哄師鍒?
http://blog.csdn.net/nickshen3/
鎬庝箞灝咶CKeditor2.4浣跨敤鍦ㄨ嚜宸辯殑web涓?br>1. 鍦╳ebapps鍒涘緩test鏂囦歡澶廣倃ebapps\test
2. 灝嗕笅杞界殑FCKeditor2.3鐨凧ava鍖匜CKeditor-2.3.zip瑙e帇緙╋紝騫跺皢web鏂囦歡澶逛笅鐨勪袱涓枃浠跺す_samples錛學(xué)EB-INF鎷瘋礉鍒板垰鎵嶅緩绔嬬殑webapps\test涓嬨傚啀灝唖rc鏂囦歡澶逛笅鐨凢CKeditor.tld鎷瘋礉鍒癢EB-INF涓嬨?br>3. 鍦╳ebapps\test\涓嬪緩绔嬫枃浠跺すFCKeditor 銆?br>4. 灝嗗垰鎵嶄笅杞界殑 FCKeditor_2.4.3.zip 瑙e帇緙╋紝鐒跺悗灝唂ckeditor鏂囦歡澶逛笅鐨?editor錛堟枃浠跺す錛?fckconfig.js,fckeditor.js,fckstyles.xml,fcktemplates.xml銆傚洓涓枃浠舵嫹璐濆埌鍒氭墠寤虹珛鐨勬枃浠跺すFCKeditor涓嬨?br>5.淇敼test\_samples\jsp\sample02.jsp鏂囦歡錛屽皢鍘熸潵鐨?br>       <FCK:editor id="EditorDefault" basePath="/FCKeditor/"
鏀逛負(fù)<FCK:editor id="EditorDefault" basePath="/test/FCKeditor/"銆備互鍚庝嬌鐢ㄧ殑鏃跺欏彧闇灝唗est鎹㈡垚欏圭洰鐨勫悕縐板嵆鍙?br>6.鎵撳紑tomcat銆傛祴璇?a href="http://localhost:8080/test/_samples/jsp/sample02.jsp">Http://localhost:8080/test/_samples/jsp/sample02.jsp銆?br>ok銆?br>
鍙﹀ 錛? http://www.tkk7.com/youxia/archive/2007/03/15/104077.html 



]]>
javascript楠岃瘉緇欏畾鐨勬棩鏈熺殑鍚堟硶鎬?/title><link>http://www.tkk7.com/bnlovebn/archive/2007/05/18/118414.html</link><dc:creator>閲嶅綊鏈瀿錛圔ing錛?/dc:creator><author>閲嶅綊鏈瀿錛圔ing錛?/author><pubDate>Fri, 18 May 2007 09:10:00 GMT</pubDate><guid>http://www.tkk7.com/bnlovebn/archive/2007/05/18/118414.html</guid><wfw:comment>http://www.tkk7.com/bnlovebn/comments/118414.html</wfw:comment><comments>http://www.tkk7.com/bnlovebn/archive/2007/05/18/118414.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bnlovebn/comments/commentRss/118414.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bnlovebn/services/trackbacks/118414.html</trackback:ping><description><![CDATA[<p> <script language="javascript"></p> <p>//楠岃瘉緇欏畾鐨勬棩鏈熸槸鍚﹀悎娉?nbsp;  ,鍙傛暟鏍煎紡瑕佹眰錛歽yyy-mm-dd 鍙互鏍規(guī)嵁鎯呭喌鏇存敼姝e垯琛ㄨ揪寮?br>function isDate(oStartDate)<br>{<br>    //瀵規(guī)棩鏈熸牸寮忚繘琛岄獙璇?瑕佹眰涓?000-2099騫?nbsp; 鏍煎紡涓?yyyy-mm-dd 騫朵笖鍙互姝e父杞崲鎴愭紜殑鏃ユ湡<br>    var pat_hd=/^20\d{2}-((0[1-9]{1})|(1[0-2]{1}))-((0[1-9]{1})|([1-2]{1}[0-9]{1})|(3[0-1]{1}))$/;<br>  <br> try{<br>     if(!pat_hd.test(oStartDate)){throw "鏃ユ湡闈炴硶錛?;}<br>  var arr_hd=oStartDate.split("-");<br>  var dateTmp;<br>  dateTmp= new Date(arr_hd[0],parseFloat(arr_hd[1])-1,parseFloat(arr_hd[2]));<br>  if(dateTmp.getFullYear()!=parseFloat(arr_hd[0]) || dateTmp.getMonth()!=parseFloat(arr_hd[1]) -1 || dateTmp.getDate()!=parseFloat(arr_hd[2]))<br>  {<br>   throw "鏃ユ湡闈炴硶錛?;<br>  }<br> }<br> catch(ex)<br> {<br>  if(ex.description)<br>   {return false;}<br>   else<br>    {return false;}<br> }<br> return true;<br>}</p> <p>//璋冪敤</p> <p>alert(isDate("2005-4-31"));<br>alert(isDate("2004-13-30"));<br>alert(isDate("2005-12-32"));<br>alert(isDate("2005-02-30"));</p> <p></script></p> <img src ="http://www.tkk7.com/bnlovebn/aggbug/118414.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bnlovebn/" target="_blank">閲嶅綊鏈瀿錛圔ing錛?/a> 2007-05-18 17:10 <a href="http://www.tkk7.com/bnlovebn/archive/2007/05/18/118414.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>瀛楃涓插弽杞殑鍑芥暟http://www.tkk7.com/bnlovebn/archive/2007/05/18/118388.html閲嶅綊鏈瀿錛圔ing錛?/dc:creator>閲嶅綊鏈瀿錛圔ing錛?/author>Fri, 18 May 2007 07:37:00 GMThttp://www.tkk7.com/bnlovebn/archive/2007/05/18/118388.htmlhttp://www.tkk7.com/bnlovebn/comments/118388.htmlhttp://www.tkk7.com/bnlovebn/archive/2007/05/18/118388.html#Feedback0http://www.tkk7.com/bnlovebn/comments/commentRss/118388.htmlhttp://www.tkk7.com/bnlovebn/services/trackbacks/118388.html<SCRIPT LANGUAGE="JavaScript">
<!--
function strRev(str)
{
return str.split("").reverse().join("")
}

alert(strRev("璧靛厔鎵樻垜甯綘鍔炵偣浜?))
//-->
</SCRIPT>

]]>
錛昏漿錛絁AVASRIPT姝e垯琛ㄨ揪寮?/title><link>http://www.tkk7.com/bnlovebn/archive/2007/01/30/96687.html</link><dc:creator>閲嶅綊鏈瀿錛圔ing錛?/dc:creator><author>閲嶅綊鏈瀿錛圔ing錛?/author><pubDate>Tue, 30 Jan 2007 03:17:00 GMT</pubDate><guid>http://www.tkk7.com/bnlovebn/archive/2007/01/30/96687.html</guid><wfw:comment>http://www.tkk7.com/bnlovebn/comments/96687.html</wfw:comment><comments>http://www.tkk7.com/bnlovebn/archive/2007/01/30/96687.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bnlovebn/comments/commentRss/96687.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bnlovebn/services/trackbacks/96687.html</trackback:ping><description><![CDATA[ <h4 class="TextColor1" id="subjcns!7bd416aec3dfa8aa!134" style="MARGIN-BOTTOM: 0px">聽(tīng)</h4> <div class="ochvggj" id="msgcns!7bd416aec3dfa8aa!134"> <div> <h2> <a> </a> <font color="#800000">姝e垯琛ㄨ揪寮忚娉?/font> </h2> <p> <font color="#800000">涓涓鍒欒〃杈懼紡灝辨槸鐢辨櫘閫氬瓧絎︼紙渚嬪瀛楃 a 鍒?z錛変互鍙?qiáng)鐗箤D婂瓧絎︼紙縐頒負(fù)<em>鍏冨瓧絎?/em>錛夌粍鎴愮殑鏂囧瓧妯″紡銆傝妯″紡鎻忚堪鍦ㄦ煡鎵炬枃瀛椾富浣撴椂寰呭尮閰嶇殑涓涓垨澶氫釜瀛楃涓層傛鍒欒〃杈懼紡浣滀負(fù)涓涓ā鏉匡紝灝嗘煇涓瓧絎︽ā寮忎笌鎵鎼滅儲(chǔ)鐨勫瓧絎︿覆榪涜鍖歸厤銆?/font> </p> <p> <font color="#800000">榪欓噷鏈変竴浜涘彲鑳戒細(xì)閬囧埌鐨勬鍒欒〃杈懼紡紺轟緥錛?/font> </p> <table cellspacing="0" rules="all" border="1"> <tbody> <tr valign="top"> <th width="30%"> <font color="#800000">JScript</font> </th> <th width="30%"> <font color="#800000">VBScript</font> </th> <th width="40%"> <font color="#800000">鍖歸厤</font> </th> </tr> <tr valign="top"> <td width="30%"> <font color="#800000">/^\[ \t]*$/</font> </td> <td width="30%"> <font color="#800000">"^\[ \t]*$"</font> </td> <td width="40%"> <font color="#800000">鍖歸厤涓涓┖鐧借銆?/font> </td> </tr> <tr valign="top"> <td width="30%"> <font color="#800000">/\d{2}-\d{5}/</font> </td> <td width="30%"> <font color="#800000">"\d{2}-\d{5}"</font> </td> <td width="40%"> <font color="#800000">楠岃瘉涓涓狪D 鍙風(fēng)爜鏄惁鐢變竴涓?浣嶆暟瀛楋紝涓涓繛瀛楃浠ュ強(qiáng)涓涓?浣嶆暟瀛楃粍鎴愩?/font> </td> </tr> <tr valign="top"> <td width="30%"> <font color="#800000">/<(.*)>.*<\/\1>/</font> </td> <td width="30%"> <font color="#800000">"<(.*)>.*<\/\1>"</font> </td> <td width="40%"> <font color="#800000">鍖歸厤涓涓?HTML 鏍囪銆?/font> </td> </tr> </tbody> </table> <br /> <p> <font color="#800000">涓嬭〃鏄厓瀛楃鍙?qiáng)鍏跺湪姝e垯琛ㄨ緫旨忎笂涓嬫枃涓殑琛屼负鐨勪竴涓畬鏁村垪琛細(xì)</font> </p> <table cellspacing="0" rules="all" border="1"> <tbody> <tr valign="top"> <th width="16%"> <font color="#800000">瀛楃</font> </th> <th width="84%"> <font color="#800000">鎻忚堪</font> </th> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\</font> </td> <td width="84%"> <font color="#800000">灝嗕笅涓涓瓧絎︽爣璁頒負(fù)涓涓壒孌婂瓧絎︺佹垨涓涓師涔夊瓧絎︺佹垨涓涓?鍚庡悜寮曠敤銆佹垨涓涓叓榪涘埗杞箟絎︺備緥濡傦紝'n' 鍖歸厤瀛楃 "n"銆?\n' 鍖歸厤涓涓崲琛岀銆傚簭鍒?'\\' 鍖歸厤 "\" 鑰?"\(" 鍒欏尮閰?"("銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">^</font> </td> <td width="84%"> <font color="#800000">鍖歸厤杈撳叆瀛楃涓茬殑寮濮嬩綅緗傚鏋滆緗簡(jiǎn) <strong>RegExp</strong> 瀵硅薄鐨?<strong>Multiline</strong> 灞炴э紝^ 涔熷尮閰?'\n' 鎴?'\r' 涔嬪悗鐨勪綅緗?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">$</font> </td> <td width="84%"> <font color="#800000">鍖歸厤杈撳叆瀛楃涓茬殑緇撴潫浣嶇疆銆傚鏋滆緗簡(jiǎn)<strong>RegExp</strong> 瀵硅薄鐨?<strong>Multiline</strong> 灞炴э紝$ 涔熷尮閰?'\n' 鎴?'\r' 涔嬪墠鐨勪綅緗?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">*</font> </td> <td width="84%"> <font color="#800000">鍖歸厤鍓嶉潰鐨勫瓙琛ㄨ揪寮忛浂嬈℃垨澶氭銆備緥濡傦紝zo* 鑳藉尮閰?"z" 浠ュ強(qiáng) "zoo"銆?* 絳変環(huán)浜巤0,}銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">+</font> </td> <td width="84%"> <font color="#800000">鍖歸厤鍓嶉潰鐨勫瓙琛ㄨ揪寮忎竴嬈℃垨澶氭銆備緥濡傦紝'zo+' 鑳藉尮閰?"zo" 浠ュ強(qiáng) "zoo"錛屼絾涓嶈兘鍖歸厤 "z"銆? 絳変環(huán)浜?{1,}銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">?</font> </td> <td width="84%"> <font color="#800000">鍖歸厤鍓嶉潰鐨勫瓙琛ㄨ揪寮忛浂嬈℃垨涓嬈°備緥濡傦紝"do(es)?" 鍙互鍖歸厤 "do" 鎴?"does" 涓殑"do" 銆? 絳変環(huán)浜?{0,1}銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">{<em>n</em>}</font> </td> <td width="84%"> <font color="#800000"> <em>n</em> 鏄竴涓潪璐熸暣鏁般傚尮閰嶇‘瀹氱殑 <em>n</em> 嬈°備緥濡傦紝'o{2}' 涓嶈兘鍖歸厤 "Bob" 涓殑 'o'錛屼絾鏄兘鍖歸厤 "food" 涓殑涓や釜 o銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">{<em>n</em>,}</font> </td> <td width="84%"> <font color="#800000"> <em>n</em> 鏄竴涓潪璐熸暣鏁般傝嚦灝戝尮閰?em>n</em> 嬈°備緥濡傦紝'o{2,}' 涓嶈兘鍖歸厤 "Bob" 涓殑 'o'錛屼絾鑳藉尮閰?"foooood" 涓殑鎵鏈?o銆?o{1,}' 絳変環(huán)浜?'o+'銆?o{0,}' 鍒欑瓑浠蜂簬 'o*'銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">{<em>n</em>,<em>m</em>}</font> </td> <td width="84%"> <font color="#800000"> <em>m</em> 鍜?<em>n</em> 鍧囦負(fù)闈炶礋鏁存暟錛屽叾涓?em>n</em> <= <em>m</em>銆傛渶灝戝尮閰?<em>n</em> 嬈′笖鏈澶氬尮閰?<em>m</em> 嬈°傚垬錛?"o{1,3}" 灝嗗尮閰?"fooooood" 涓殑鍓嶄笁涓?o銆?o{0,1}' 絳変環(huán)浜?'o?'銆傝娉ㄦ剰鍦ㄩ楀彿鍜屼袱涓暟涔嬮棿涓嶈兘鏈夌┖鏍箋?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">?</font> </td> <td width="84%"> <font color="#800000">褰撹瀛楃绱ц窡鍦ㄤ換浣曚竴涓叾浠栭檺鍒剁 (*, +, ?, {<em>n</em>}, {<em>n</em>,}, {<em>n</em>,<em>m</em>}) 鍚庨潰鏃訛紝鍖歸厤妯″紡鏄潪璐┆鐨勩傞潪璐┆妯″紡灝藉彲鑳藉皯鐨勫尮閰嶆墍鎼滅儲(chǔ)鐨勫瓧絎︿覆錛岃岄粯璁ょ殑璐┆妯″紡鍒欏敖鍙兘澶氱殑鍖歸厤鎵鎼滅儲(chǔ)鐨勫瓧絎︿覆銆備緥濡傦紝瀵逛簬瀛楃涓?"oooo"錛?o+?' 灝嗗尮閰嶅崟涓?"o"錛岃?'o+' 灝嗗尮閰嶆墍鏈?'o'銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">.</font> </td> <td width="84%"> <font color="#800000">鍖歸厤闄?"\n" 涔嬪鐨勪換浣曞崟涓瓧絎︺傝鍖歸厤鍖呮嫭 '\n' 鍦ㄥ唴鐨勪換浣曞瓧絎︼紝璇蜂嬌鐢ㄨ薄 '[.\n]' 鐨勬ā寮忋?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">(<em>pattern</em>)</font> </td> <td width="84%"> <font color="#800000">鍖歸厤<em>pattern</em> 騫惰幏鍙栬繖涓鍖歸厤銆傛墍鑾峰彇鐨勫尮閰嶅彲浠ヤ粠浜х敓鐨?Matches 闆嗗悎寰楀埌錛屽湪VBScript 涓嬌鐢?<strong>SubMatches</strong> 闆嗗悎錛屽湪JScript 涓垯浣跨敤 <strong>$0</strong>鈥?strong>$9</strong> 灞炴с傝鍖歸厤鍦嗘嫭鍙峰瓧絎︼紝璇蜂嬌鐢?'\(' 鎴?'\)'銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">(?:<em>pattern</em>)</font> </td> <td width="84%"> <font color="#800000">鍖歸厤 <em>pattern</em> 浣嗕笉鑾峰彇鍖歸厤緇撴灉錛屼篃灝辨槸璇磋繖鏄竴涓潪鑾峰彇鍖歸厤錛屼笉榪涜瀛樺偍渚涗互鍚庝嬌鐢ㄣ傝繖鍦ㄤ嬌鐢?"鎴? 瀛楃 (|) 鏉ョ粍鍚堜竴涓ā寮忕殑鍚勪釜閮ㄥ垎鏄緢鏈夌敤銆備緥濡傦紝 'industr(?:y|ies) 灝辨槸涓涓瘮 'industry|industries' 鏇寸畝鐣ョ殑琛ㄨ揪寮忋?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">(?=<em>pattern</em>)</font> </td> <td width="84%"> <font color="#800000">姝e悜棰勬煡錛屽湪浠諱綍鍖歸厤 <em>pattern</em> 鐨勫瓧絎︿覆寮濮嬪鍖歸厤鏌ユ壘瀛楃涓層傝繖鏄竴涓潪鑾峰彇鍖歸厤錛屼篃灝辨槸璇達(dá)紝璇ュ尮閰嶄笉闇瑕佽幏鍙栦緵浠ュ悗浣跨敤銆備緥濡傦紝 'Windows (?=95|98|NT|2000)' 鑳藉尮閰?"Windows 2000" 涓殑 "Windows" 錛屼絾涓嶈兘鍖歸厤 "Windows 3.1" 涓殑 "Windows"銆傞鏌ヤ笉娑堣楀瓧絎︼紝涔熷氨鏄錛屽湪涓涓尮閰嶅彂鐢熷悗錛屽湪鏈鍚庝竴嬈″尮閰嶄箣鍚庣珛鍗沖紑濮嬩笅涓嬈″尮閰嶇殑鎼滅儲(chǔ)錛岃屼笉鏄粠鍖呭惈棰勬煡鐨勫瓧絎︿箣鍚庡紑濮嬨?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">(?!<em>pattern</em>)</font> </td> <td width="84%"> <font color="#800000">璐熷悜棰勬煡錛屽湪浠諱綍涓嶅尮閰峃egative lookahead matches the search string at any point where a string not matching <em>pattern</em> 鐨勫瓧絎︿覆寮濮嬪鍖歸厤鏌ユ壘瀛楃涓層傝繖鏄竴涓潪鑾峰彇鍖歸厤錛屼篃灝辨槸璇達(dá)紝璇ュ尮閰嶄笉闇瑕佽幏鍙栦緵浠ュ悗浣跨敤銆備緥濡?Windows (?!95|98|NT|2000)' 鑳藉尮閰?"Windows 3.1" 涓殑 "Windows"錛屼絾涓嶈兘鍖歸厤 "Windows 2000" 涓殑 "Windows"銆傞鏌ヤ笉娑堣楀瓧絎︼紝涔熷氨鏄錛屽湪涓涓尮閰嶅彂鐢熷悗錛屽湪鏈鍚庝竴嬈″尮閰嶄箣鍚庣珛鍗沖紑濮嬩笅涓嬈″尮閰嶇殑鎼滅儲(chǔ)錛岃屼笉鏄粠鍖呭惈棰勬煡鐨勫瓧絎︿箣鍚庡紑濮?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000"> <em>x</em>|<em>y</em></font> </td> <td width="84%"> <font color="#800000">鍖歸厤 <em>x</em> 鎴?<em>y</em>銆備緥濡傦紝'z|food' 鑳藉尮閰?"z" 鎴?"food"銆?(z|f)ood' 鍒欏尮閰?"zood" 鎴?"food"銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">[<em>xyz</em>]</font> </td> <td width="84%"> <font color="#800000">瀛楃闆嗗悎銆傚尮閰嶆墍鍖呭惈鐨勪換鎰忎竴涓瓧絎︺備緥濡傦紝 '[abc]' 鍙互鍖歸厤 "plain" 涓殑 'a'銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">[^<em>xyz</em>]</font> </td> <td width="84%"> <font color="#800000">璐熷煎瓧絎﹂泦鍚堛傚尮閰嶆湭鍖呭惈鐨勪換鎰忓瓧絎︺備緥濡傦紝 '[^abc]' 鍙互鍖歸厤 "plain" 涓殑'p'銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">[<em>a-z</em>]</font> </td> <td width="84%"> <font color="#800000">瀛楃鑼冨洿銆傚尮閰嶆寚瀹氳寖鍥村唴鐨勪換鎰忓瓧絎︺備緥濡傦紝'[a-z]' 鍙互鍖歸厤 'a' 鍒?'z' 鑼冨洿鍐呯殑浠繪剰灝忓啓瀛楁瘝瀛楃銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">[^<em>a-z</em>]</font> </td> <td width="84%"> <font color="#800000">璐熷煎瓧絎﹁寖鍥淬傚尮閰嶄換浣曚笉鍦ㄦ寚瀹氳寖鍥村唴鐨勪換鎰忓瓧絎︺備緥濡傦紝'[^a-z]' 鍙互鍖歸厤浠諱綍涓嶅湪 'a' 鍒?'z' 鑼冨洿鍐呯殑浠繪剰瀛楃銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\b</font> </td> <td width="84%"> <font color="#800000">鍖歸厤涓涓崟璇嶈竟鐣岋紝涔熷氨鏄寚鍗曡瘝鍜岀┖鏍奸棿鐨勪綅緗備緥濡傦紝 'er\b' 鍙互鍖歸厤"never" 涓殑 'er'錛屼絾涓嶈兘鍖歸厤 "verb" 涓殑 'er'銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\B</font> </td> <td width="84%"> <font color="#800000">鍖歸厤闈炲崟璇嶈竟鐣屻?er\B' 鑳藉尮閰?"verb" 涓殑 'er'錛屼絾涓嶈兘鍖歸厤 "never" 涓殑 'er'銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\c<em>x</em></font> </td> <td width="84%"> <font color="#800000">鍖歸厤鐢?em>x</em>鎸囨槑鐨勬帶鍒跺瓧絎︺備緥濡傦紝 \cM 鍖歸厤涓涓?Control-M 鎴栧洖杞︾銆?<em>x</em> 鐨勫煎繀欏諱負(fù) A-Z 鎴?a-z 涔嬩竴銆傚惁鍒欙紝灝?c 瑙嗕負(fù)涓涓師涔夌殑 'c' 瀛楃銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\d</font> </td> <td width="84%"> <font color="#800000">鍖歸厤涓涓暟瀛楀瓧絎︺傜瓑浠蜂簬 [0-9]銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\D</font> </td> <td width="84%"> <font color="#800000">鍖歸厤涓涓潪鏁板瓧瀛楃銆傜瓑浠蜂簬 [^0-9]銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\f</font> </td> <td width="84%"> <font color="#800000">鍖歸厤涓涓崲欏電銆傜瓑浠蜂簬 \x0c 鍜?\cL銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\n</font> </td> <td width="84%"> <font color="#800000">鍖歸厤涓涓崲琛岀銆傜瓑浠蜂簬 \x0a 鍜?\cJ銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\r</font> </td> <td width="84%"> <font color="#800000">鍖歸厤涓涓洖杞︾銆傜瓑浠蜂簬 \x0d 鍜?\cM銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\s</font> </td> <td width="84%"> <font color="#800000">鍖歸厤浠諱綍絀虹櫧瀛楃錛屽寘鎷┖鏍箋佸埗琛ㄧ銆佹崲欏電絳夌瓑銆傜瓑浠蜂簬 [聽(tīng)\f\n\r\t\v]銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\S</font> </td> <td width="84%"> <font color="#800000">鍖歸厤浠諱綍闈炵┖鐧藉瓧絎︺傜瓑浠蜂簬 [^聽(tīng)\f\n\r\t\v]銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\t</font> </td> <td width="84%"> <font color="#800000">鍖歸厤涓涓埗琛ㄧ銆傜瓑浠蜂簬 \x09 鍜?\cI銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\v</font> </td> <td width="84%"> <font color="#800000">鍖歸厤涓涓瀭鐩村埗琛ㄧ銆傜瓑浠蜂簬 \x0b 鍜?\cK銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\w</font> </td> <td width="84%"> <font color="#800000">鍖歸厤鍖呮嫭涓嬪垝綰跨殑浠諱綍鍗曡瘝瀛楃銆傜瓑浠蜂簬'[A-Za-z0-9_]'銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\W</font> </td> <td width="84%"> <font color="#800000">鍖歸厤浠諱綍闈炲崟璇嶅瓧絎︺傜瓑浠蜂簬 '[^A-Za-z0-9_]'銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\x<em>n</em></font> </td> <td width="84%"> <font color="#800000">鍖歸厤 <em>n</em>錛屽叾涓?<em>n</em> 涓哄崄鍏繘鍒惰漿涔夊箋傚崄鍏繘鍒惰漿涔夊煎繀欏諱負(fù)紜畾鐨勪袱涓暟瀛楅暱銆備緥濡傦紝 '\x41' 鍖歸厤 "A"銆?\x041' 鍒欑瓑浠蜂簬 '\x04' & "1"銆傛鍒欒〃杈懼紡涓彲浠ヤ嬌鐢?ASCII 緙栫爜銆?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\<em>num</em></font> </td> <td width="84%"> <font color="#800000">鍖歸厤 <em>num</em>錛屽叾涓?<em>num</em> 鏄竴涓鏁存暟銆傚鎵鑾峰彇鐨勫尮閰嶇殑寮曠敤銆備緥濡傦紝'(.)\1' 鍖歸厤涓や釜榪炵畫鐨勭浉鍚屽瓧絎︺?</font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\<em>n</em></font> </td> <td width="84%"> <font color="#800000">鏍囪瘑涓涓叓榪涘埗杞箟鍊兼垨涓涓悗鍚戝紩鐢ㄣ傚鏋?\<em>n</em> 涔嬪墠鑷沖皯 <em>n</em> 涓幏鍙栫殑瀛愯〃杈懼紡錛屽垯 <em>n</em> 涓哄悗鍚戝紩鐢ㄣ傚惁鍒欙紝濡傛灉 <em>n</em> 涓哄叓榪涘埗鏁板瓧 (0-7)錛屽垯 <em>n</em> 涓轟竴涓叓榪涘埗杞箟鍊箋?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\<em>nm</em></font> </td> <td width="84%"> <font color="#800000">鏍囪瘑涓涓叓榪涘埗杞箟鍊兼垨涓涓悗鍚戝紩鐢ㄣ傚鏋?\<em>nm</em> 涔嬪墠鑷沖皯鏈塱s preceded by at least <em>nm</em> 涓幏鍙栧緱瀛愯〃杈懼紡錛屽垯 <em>nm</em> 涓哄悗鍚戝紩鐢ㄣ傚鏋?\<em>nm</em> 涔嬪墠鑷沖皯鏈?<em>n</em> 涓幏鍙栵紝鍒?<em>n</em> 涓轟竴涓悗璺熸枃瀛?<em>m </em>鐨勫悗鍚戝紩鐢ㄣ傚鏋滃墠闈㈢殑鏉′歡閮戒笉婊¤凍錛岃嫢聽(tīng) <em>n</em> 鍜?<em>m</em> 鍧囦負(fù)鍏繘鍒舵暟瀛?(0-7)錛屽垯 \<em>nm</em> 灝嗗尮閰嶅叓榪涘埗杞箟鍊?<em>nm</em>銆?/font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\<em>nml</em></font> </td> <td width="84%"> <font color="#800000">濡傛灉 <em>n</em> 涓哄叓榪涘埗鏁板瓧 (0-3)錛屼笖 <em>m</em> 鍜?<em>l</em> 鍧囦負(fù)鍏繘鍒舵暟瀛?(0-7)錛屽垯鍖歸厤鍏繘鍒惰漿涔夊?<em>nml銆?/em></font> </td> </tr> <tr valign="top"> <td width="16%"> <font color="#800000">\u<em>n</em></font> </td> <td width="84%"> <font color="#800000">鍖歸厤 <em>n</em>錛屽叾涓?<em>n</em> 鏄竴涓敤鍥涗釜鍗佸叚榪涘埗鏁板瓧琛ㄧず鐨?Unicode 瀛楃銆備緥濡傦紝 \u00A9 鍖歸厤鐗堟潈絎﹀彿 (?)銆?/font> </td> </tr> </tbody> </table> </div> </div> <img src ="http://www.tkk7.com/bnlovebn/aggbug/96687.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bnlovebn/" target="_blank">閲嶅綊鏈瀿錛圔ing錛?/a> 2007-01-30 11:17 <a href="http://www.tkk7.com/bnlovebn/archive/2007/01/30/96687.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍑犵js瀹炵幇鐨勫姩鎬佸鏂囦歡涓婁紶http://www.tkk7.com/bnlovebn/archive/2007/01/26/96194.html閲嶅綊鏈瀿錛圔ing錛?/dc:creator>閲嶅綊鏈瀿錛圔ing錛?/author>Fri, 26 Jan 2007 09:21:00 GMThttp://www.tkk7.com/bnlovebn/archive/2007/01/26/96194.htmlhttp://www.tkk7.com/bnlovebn/comments/96194.htmlhttp://www.tkk7.com/bnlovebn/archive/2007/01/26/96194.html#Feedback4http://www.tkk7.com/bnlovebn/comments/commentRss/96194.htmlhttp://www.tkk7.com/bnlovebn/services/trackbacks/96194.html聽(tīng)html
<p>
<a聽(tīng)href='#'聽(tīng)onclick='javascript:viewnone(more1)'>聽(tīng)娣誨姞闄勪歡聽(tīng)</a>
<div聽(tīng)id='more1'聽(tīng)style='display:none'>
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
<input聽(tīng)type="file"聽(tīng)name="attach1"聽(tīng)size="50"javascript:viewnone(more2)>
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
</span>
</div>
<div聽(tīng)id='more2'聽(tīng)style='display:none'>
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
<input聽(tīng)type="file"聽(tīng)name="attach2"聽(tīng)size="50"'>
</div>
</p>
js
<SCRIPT聽(tīng)language="javascript">
聽(tīng)聽(tīng)
function聽(tīng)viewnone(e){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)e.style.display
=(e.style.display=="none")?"":"none";
聽(tīng)聽(tīng)}
</script>

鏂瑰紡浜?榪欑鏂瑰紡鐨勫姩鎬佸鏂囦歡涓婁紶鏄疄鐜頒簡(jiǎn)鐨勶紝寰堢畝鍗曠殑錛屼笉璇村簾璇濈湅code
html
<input聽(tīng)type="button"聽(tīng)name="button"聽(tīng)value="娣誨姞闄勪歡"聽(tīng)onclick="addInput()">
<input聽(tīng)type="button"聽(tīng)name="button"聽(tīng)value="鍒犻櫎闄勪歡"聽(tīng)onclick="deleteInput()">
<span聽(tīng)id="upload"></span>
js
<script聽(tīng)type="text/javascript">
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)attachname聽(tīng)=聽(tīng)"attach";
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)i=1;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
function聽(tīng)聽(tīng)聽(tīng)addInput(){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
if(i>0){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)attach聽(tīng)=聽(tīng)attachname聽(tīng)+聽(tīng)i聽(tīng);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
if(createInput(attach))
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)i
=i+1;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)}
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)}聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
function聽(tīng)deleteInput(){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
if(i>1){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)i
=i-1;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
if(!removeInput())
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)i
=i+1;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)}
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)}聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
function聽(tīng)createInput(nm){聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)聽(tīng)aElement=document.createElement("input");聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)aElement.name
=nm;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)aElement.id
=nm;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)aElement.type
="file";
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)aElement.size
="50";
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
//aElement.value="thanks";聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)//aElement.onclick=Function("asdf()");聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)if(document.getElementById("upload").appendChild(aElement)聽(tīng)==聽(tīng)null)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
return聽(tīng)false;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
return聽(tīng)true;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)}聽(tīng)聽(tīng)

聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
function聽(tīng)removeInput(nm){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)aElement聽(tīng)=聽(tīng)document.getElementById("upload");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
if(aElement.removeChild(aElement.lastChild)聽(tīng)==聽(tīng)null)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
return聽(tīng)false;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
return聽(tīng)true;聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)}聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
</script>

鏂瑰紡涓夛細(xì)鍔ㄦ佸鏂囦歡涓婁紶錛屽彧鏄湪oFileInput.click();榪欎釜鍦版柟錛岃繖鏍峰仛灝變笉鑳戒笂浼犺繖涓枃浠朵簡(jiǎn)錛屽洜涓哄彂鐜板畠鍦ㄤ笂浼犱箣鏃跺氨鎶婅繖涓猧nput涓殑鏂囦歡緗┖浜?jiǎn)銆傚緢鍙兘鏄負(fù)浜?jiǎn)瀹夊叏鐫鎯沖惂錛?br />鍙﹀榪樻湁涓鐐瑰氨鏄錛宑lick()鍙湁鍦╥e涓墠鑳芥甯歌繍琛屻?br />铏借榪欑鏂瑰紡鏈緇堟病鑳藉疄鐜頒笂浼狅紝浣嗚繕鏄暀涓嬫潵鍙傝冿紝鐪嬬湅鏄惁鏈変漢鍙互鐪熸瀹炵幇涓婁紶銆?br />聽(tīng)html
<A聽(tīng)href="javascript:newUpload();">娣誨姞闄勪歡</A>
<TABLE聽(tīng)width="100%"聽(tīng)border="0"聽(tīng)cellpadding="0"聽(tīng)cellspacing="1">
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
<TBODY聽(tīng)id="fileList"></TBODY>
</TABLE>
<DIV聽(tīng)id="uploadFiles"聽(tīng)style="display:block"></DIV>
js
<SCRIPT聽(tīng)language="javascript">

聽(tīng)聽(tīng)聽(tīng)聽(tīng)
//---鏂板緩涓婁紶
聽(tīng)聽(tīng)聽(tīng)聽(tīng)function聽(tīng)newUpload(){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)oFileList聽(tīng)=聽(tīng)document.getElementById("fileList");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)fileCount聽(tīng)=聽(tīng)oFileList.childNodes.length聽(tīng)+聽(tīng)1;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)oFileInput聽(tīng)=聽(tīng)newFileInput("upfile_"聽(tīng)+聽(tīng)fileCount);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
if(selectFile(oFileInput)){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)addFile(oFileInput);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)}
聽(tīng)聽(tīng)聽(tīng)聽(tīng)}
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
//----閫夋嫨鏂囦歡
聽(tīng)聽(tīng)聽(tīng)聽(tīng)function聽(tīng)selectFile(oFileInput){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)oUploadFiles聽(tīng)=聽(tīng)document.getElementById("uploadFiles");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oUploadFiles.appendChild(oFileInput);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oFileInput.focus();
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oFileInput.click();
//涓嶈兘榪欐牱鍋氾紝鍙兘鏄負(fù)浜?jiǎn)瀹夊叏鐫鎯沖惂錛?/span>
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)var聽(tīng)fileValue聽(tīng)=聽(tīng)oFileInput.value;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
if(fileValue聽(tīng)==聽(tīng)""){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oUploadFiles.removeChild(oFileInput);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
return聽(tīng)false;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)}
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
else
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
return聽(tīng)true;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)}
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
//---鏂板緩涓涓枃浠舵樉紺哄垪琛?/span>
聽(tīng)聽(tīng)聽(tīng)聽(tīng)function聽(tīng)addFile(oFileInput){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)oFileList聽(tīng)=聽(tīng)document.getElementById("fileList");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)fileIndex聽(tīng)=聽(tīng)oFileList.childNodes.length聽(tīng)+聽(tīng)1;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)oTR聽(tīng)聽(tīng)=聽(tīng)document.createElement("TR");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)oTD1聽(tīng)=聽(tīng)document.createElement("TD");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)oTD2聽(tīng)=聽(tīng)document.createElement("TD");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oTR.setAttribute(
"id","file_"聽(tīng)+聽(tīng)fileIndex);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oTR.setAttribute(
"bgcolor","#FFFFFF");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oTD1.setAttribute(
"width","6%");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oTD2.setAttribute(
"width","94%");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oTD2.setAttribute(
"align","left");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oTD2.innerText聽(tīng)
=聽(tīng)oFileInput.value;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oTD1.innerHTML聽(tīng)
=聽(tīng)'<A聽(tīng)href="javascript:removeFile('+聽(tīng)fileIndex聽(tīng)+聽(tīng)');">鍒犻櫎</A>';
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oTR.appendChild(oTD1);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oTR.appendChild(oTD2);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oFileList.appendChild(oTR);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)}
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
//---縐婚櫎涓婁紶鐨勬枃浠堵?/span>
聽(tīng)聽(tīng)聽(tīng)聽(tīng)function聽(tīng)removeFile(fileIndex){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)oFileInput聽(tīng)=聽(tīng)document.getElementById("upfile_"聽(tīng)+聽(tīng)fileIndex);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)oTR聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)=聽(tīng)document.getElementById("file_"聽(tīng)+聽(tīng)fileIndex);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)uploadFiles.removeChild(oFileInput);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)fileList.removeChild(oTR);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)}
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
//---鍒涘緩涓涓猣ile聽(tīng)input瀵硅薄騫惰繑鍥?/span>
聽(tīng)聽(tīng)聽(tīng)聽(tīng)function聽(tīng)newFileInput(_name){
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
var聽(tīng)oFileInput聽(tīng)聽(tīng)=聽(tīng)document.createElement("INPUT");
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oFileInput.type聽(tīng)
=聽(tīng)"file";
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oFileInput.id聽(tīng)
=聽(tīng)_name;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oFileInput.name聽(tīng)
=聽(tīng)_name;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)oFileInput.size
="50";
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)
//oFileInput.setAttribute("id",_name);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)//oFileInput.setAttribute("name",_name);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)//oFileInput.outerHTML聽(tīng)=聽(tīng)'<INPUT聽(tīng)type=file聽(tīng)id='聽(tīng)+聽(tīng)_name聽(tīng)+聽(tīng)'聽(tīng)name='聽(tīng)+聽(tīng)_name聽(tīng)+聽(tīng)'>';
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)//alert(oFileInput.outerHTML);
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)return聽(tīng)oFileInput;
聽(tīng)聽(tīng)聽(tīng)聽(tīng)}
聽(tīng)聽(tīng)聽(tīng)聽(tīng)
</SCRIPT>


]]>
緇橨avaScript鑷畾涔変竴涓猅rim鍑芥暟http://www.tkk7.com/bnlovebn/archive/2007/01/23/95540.html閲嶅綊鏈瀿錛圔ing錛?/dc:creator>閲嶅綊鏈瀿錛圔ing錛?/author>Tue, 23 Jan 2007 06:43:00 GMThttp://www.tkk7.com/bnlovebn/archive/2007/01/23/95540.htmlhttp://www.tkk7.com/bnlovebn/comments/95540.htmlhttp://www.tkk7.com/bnlovebn/archive/2007/01/23/95540.html#Feedback2http://www.tkk7.com/bnlovebn/comments/commentRss/95540.htmlhttp://www.tkk7.com/bnlovebn/services/trackbacks/95540.html
<script聽(tīng)language="JavaScript">聽(tīng)
//姝ゅ涓簊tring綾繪坊鍔犱笁涓垚鍛樎?/span>
String.prototype.Trim聽(tīng)=聽(tīng)function(){聽(tīng)return聽(tīng)Trim(this);}聽(tīng)
String.prototype.LTrim聽(tīng)
=聽(tīng)function(){return聽(tīng)LTrim(this);}聽(tīng)
String.prototype.RTrim聽(tīng)
=聽(tīng)function(){return聽(tīng)RTrim(this);}聽(tīng)

//姝ゅ涓虹嫭绔嬪嚱鏁奧?/span>
function聽(tīng)LTrim(str)聽(tīng)
{聽(tīng)
var聽(tīng)i;聽(tīng)
for(i=0;i<str.length;i++)聽(tīng)
{聽(tīng)
if(str.charAt(i)!="聽(tīng)"&&str.charAt(i)!="聽(tīng)")break;聽(tīng)
}
聽(tīng)
str
=str.substring(i,str.length);聽(tīng)
return聽(tīng)str;聽(tīng)
}
聽(tīng)
function聽(tīng)RTrim(str)聽(tīng)
{聽(tīng)
var聽(tīng)i;聽(tīng)
for(i=str.length-1;i>=0;i--)聽(tīng)
{聽(tīng)
if(str.charAt(i)!="聽(tīng)"&&str.charAt(i)!="聽(tīng)")break;聽(tīng)
}
聽(tīng)
str
=str.substring(0,i+1);聽(tīng)
return聽(tīng)str;聽(tīng)
}
聽(tīng)
function聽(tīng)Trim(str)聽(tīng)
{聽(tīng)
return聽(tīng)LTrim(RTrim(str));聽(tīng)
}
聽(tīng)
</script>


]]>
欏甸潰璺寵漿(javascript/php/asp)http://www.tkk7.com/bnlovebn/archive/2006/11/03/78959.html閲嶅綊鏈瀿錛圔ing錛?/dc:creator>閲嶅綊鏈瀿錛圔ing錛?/author>Fri, 03 Nov 2006 09:45:00 GMThttp://www.tkk7.com/bnlovebn/archive/2006/11/03/78959.htmlhttp://www.tkk7.com/bnlovebn/comments/78959.htmlhttp://www.tkk7.com/bnlovebn/archive/2006/11/03/78959.html#Feedback1http://www.tkk7.com/bnlovebn/comments/commentRss/78959.htmlhttp://www.tkk7.com/bnlovebn/services/trackbacks/78959.html

ASP欏甸潰錛?br /><%response.redirect "欏甸潰璺緞"%>


鏈夊ソ鍑犵鏂規(guī)硶錛?br />(1)鍦ㄩ〉闈腑璺寵漿錛氬姞鍏ヤ互涓嬪彞瀛愶紝2縐掑悗璺沖埌test.html
聽(tīng)聽(tīng) <meta HTTP-EQUIV=REFRESH CONTENT='2; URL=test.html'>
(2)2縐掑悗杞埌l(fā)y2.php
聽(tīng)聽(tīng) <script>setTimeout("location.href="/home/ly2.php'",2000)</script>
(3)鍦╬hp涓敤header()鍑芥暟璺寵漿錛?br />聽(tīng)聽(tīng) header("Location :http://www.xxx.com");
(4)鐢ㄤ竴涓寜閽紝鐐瑰嚮鍚庤煩杞細(xì)(5縐嶆寜閽?
聽(tīng)


<input type=button value=Return onClick

="javascript:location.href('URL');">
聽(tīng)聽(tīng) <input type=button value=Return onClick=

"javascript:window.location.href('URL');">
聽(tīng)聽(tīng) <input type=button value=Return onClick

="javascript:window.location.replace('URL');">
聽(tīng)聽(tīng) <input type=button value=Return onClick

="javascript:window.location.assign('URL');">
聽(tīng)聽(tīng) <input type="button" value="Return" onClick

="window.location='URL'" /><!--榪欑鏈濂?->



]]>
主站蜘蛛池模板: 99久久免费精品高清特色大片| 丝瓜app免费下载网址进入ios | 亚洲国产一区二区a毛片| 久久久久亚洲Av无码专| 亚洲综合久久一本伊伊区| 亚洲AV无码一区二区三区性色| 免费中文字幕视频| 中文字幕免费不卡二区| 色婷婷7777免费视频在线观看| 免费精品一区二区三区在线观看| 亚洲成a人片在线观看久| 国产亚洲婷婷香蕉久久精品| 91亚洲视频在线观看| 黄页网站在线免费观看| 国内少妇偷人精品视频免费| 中文字幕无码免费久久99| 免费人成视频在线观看视频| 久热综合在线亚洲精品| 伊人久久亚洲综合影院首页| a在线视频免费观看在线视频三区| 亚洲国产精品免费视频| 毛片大全免费观看| 亚洲人成网站在线播放vr| 亚洲AV无码专区在线亚| 四虎国产精品成人免费久久| 222www在线观看免费| 免费女人18毛片a级毛片视频| 久久精品蜜芽亚洲国产AV| 成人婷婷网色偷偷亚洲男人的天堂| a级毛片免费高清毛片视频| 青青久在线视频免费观看| 久久久久亚洲av毛片大| 最新亚洲春色Av无码专区| 成人免费一区二区三区| AV片在线观看免费| 亚洲大尺度无码专区尤物| 亚洲av无码一区二区三区人妖 | 亚洲人成电影网站免费| 亚洲日韩欧洲乱码AV夜夜摸| 亚洲日韩国产欧美一区二区三区| a在线观看免费网址大全|