javascriptÔÚ´«µÝurl£¨º¬ÓÐÖÐÎÄ£©Ê±³öÏÖÂÒÂë
´ó¼Ò¿ÉÄܶ¼Óöµ½¹ýÔÚдjavascirpt´úÂëʱ´«µÝÖÐÎÄ£¬ÔÚºǫ́ȡµ½Ê±·¢ÏÖÊÇÂÒÂ룬ÕâÀï°ÑÎÒ½ñÌì×öµÄ·½·¨Ð´³öÀ´£¬Ï£Íû¶Ô´ó¼ÒÒÔºóÓÐÓã¡
·½·¨£¨Ò»£©£º
htmlÒ³Ã棺
function testOne() {
var url = "testOne_test.do?expr="+ÄãºÃ;
location = encodeURI(url);
}
ºǫ́java´úÂ룺
String expr = new String(request.getParameter("expr").getBytes("ISO-8859-1"),"UTF-8");
·½·¨£¨¶þ£©£º
htmlÒ³Ã棺
function testOne() {
var url = "testOne_test.do?expr="+ÄãºÃ;
location = encodeURI(encodeURI(url));
}
ºǫ́java´úÂ룺
String expr = java.net.URLDecoder.decode(lrequest.getParameter("expr") , "UTF-8");
·½·¨£¨Èý£©£º
ÔÚtomcatÏÂÃæÕÒµ½server.xml
<Connector port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" URIEncoding="GBK">,Ò»°ã¶¼ÊÇUTF-8£¬ÕâÀïÊǽâ¾öÖÐÎÄÂÒÂëµÄÎÊÌâ¡£
Ïà¹ØÎĵµ£º
1.Ajax Rain
¡¡¡¡AjaxRainÓкܶàÍêÃÀÕûºÏAJAX, CSS, DHTML »ò JavascriptµÄʵÀý£¬ÓÐһЩDemoµÄÈ·ÖµµÃÄãÈ¥¿´Ò»¿´£¬¼´Ê¹Äã²»ÊÇÍøÒ³Éè¼Æ(¿ª·¢)ʦ¡£
Ajax/JavascriptʵÀý:
EXT JS Date Picker
jQuery Feed Menu
jGrowl
FastFind Menu – Jquery
Spiffy Accordion
2.Ajax Daddy ......
¶ÁÈ¡XMLÎĵµ£»
²ÉÓõݹéÉú³ÉÎÞÏÞ¼¶µÄÊ÷Ðβ˵¥£»
Äܹ»ÏìÓ¦Êó±êʼþ£¬Õ¹¿ªÓë²ðµþ×Ó¼¶²Ëµ¥£»
Ê×ÏÈÊÇÉú³ÉÒ»¸öXMLÎĵµ£¬ÎÒÓõÄÊÇXML SpyµÄ±à¼Æ÷£»
<?xml version="1.0" encoding="utf-8"?>
<menu>
<menu name="Ã÷ ......
Javascript ÕýÔò±í´ïʽʹÓÃÊÖ²á
Javascript 2008-10-30 10:15 ÔĶÁ97 ÆÀÂÛ0
×ֺţº ´ó´ó ÖÐÖРСС
Ò»£®ÕýÔò±í´ïʽƥÅä³£ÓÃÓï·¨
“+”×Ö·û£º¹æ¶¨±í´ïʽ×Ö·û³öÏÖÒ»´Î»ò¶à´Î¡£
“*”×Ö·û£º¹æ¶¨±í´ïʽ×Ö·û³öÏÖÁã´Î»ò¶à´Î¡£
“? ......
¹Ø¼ü×Ö vbscript,javascript,µ÷ÓÃ
vbscriptºÍjavascript»¥Ïàµ÷Ó÷½·¨
¡¡¡¡ASP¾ß±¸¹ÜÀí²»Í¬ÓïÑԽű¾³ÌÐòµÄÄÜÁ¦£¬Äܹ»×Ô¶¯µ÷ÓúÏÊʵĽű¾ÒýÇæÒÔ½âÊͽű¾´úÂëºÍÖ´ÐÐÄÚÖú¯Êý¡£ASP¿ª·¢»·¾³ÌṩÁËÁ½Öֽű¾ÒýÇ棬¼´VBScript£¨È±Ê¡£©ºÍJScript¡£²»¹ý£¬¿ª·¢Õß² ......
1£ºÈ¡µÃ±íµ¥ÖеÄTextBox ÖеÄÊý¾Ý£ºdocument.FormName.TextBox.value;
2: ¿ØÖÆÔªËصÄÏÖʵºÍÒþ²Ø£ºÓÐvisibility ºÍ display
Çø±ð£º1£©Ç°ÕßµÄÊôÐÔÖµÓУ¬visible¡¢hidden ¡£
ºóÕßµÄÊôÐÔÖµÓУºblock ºÍ none£»
2£©Ç°ÕßËäÈ»Òþ ......