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

javascriptÖеÄÈ«¾Ö±äÁ¿ÎÊÌâ - Web ¿ª·¢ / JavaScript

Ç뿴϶˽ű¾£¬ÎÒ×öµÄÒ»¸ö½Å±¾¼ì²â±êÌâÊÇ·ñÖظ´µÄ£¬ÈôÖظ´£¬²»ÈÃÆäÌá½»¡£  
º¯ÊýÈë¿ÚÊÇcheck£¨£©º¯Êý£¬ÔÚÆäelseÓï¾äÖе÷ÓÃÁËsendRequestTitle();ͨ¹ýsendRequestTitle();
µÄÏìÓ¦º¯ÊýprocessResponseTitle()À´¸ù¾Ýºǫ́µÄÅжÏÇé¿öÐÞ¸ÄflagµÄÖµ£¬flagÊǸöÈ«¾Ö±äÁ¿£¬ÕâÑùдÔÚprocessResponseTitle()º¯ÊýÀïÓ¦¸Ã¿ÉÒÔÐÞ¸ÄÆäÖ°µÄѽ£¬µ«Êǽá¹ûÊÇÐÞ¸ÄÎÞЧ¡£Çë¸ßÊÖÖ¸µãÒ»¶þ¡£


 <script type="text/javascript">
  var flag=false;//±êʾ±êÌâÊÇ·ñÒÑ´æÔÚ
  <!-- ajaxÅжϱêÌâÖظ´ -->

var XMLHttpReq;
  //´´½¨XMLHttpRequest¶ÔÏó  
  function createXMLHttpRequest() {
if(window.XMLHttpRequest) { 
XMLHttpReq = new XMLHttpRequest();
}
else if (window.ActiveXObject) { 
try {
XMLHttpReq = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
XMLHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
}
}
//·¢ËÍÇëÇóº¯Êý
function sendRequestTitle() {
var title=document.getElementById("title").value; //È¡µÃÊäÈëµÄÐÅÏ¢±êÌâ
//alert(title);
var url="KeyWordNameCheckServlet";  
  var urlstr="title="+title+"&r=000";
  createXMLHttpRequest();
XMLHttpReq.open("POST", url, true); //½¨Á¢Óë·þÎñÆ÷µÄÁ¬½Ó.


Ïà¹ØÎÊ´ð£º

JavascriptÃèµãÎÊÌâ - Web ¿ª·¢ / JavaScript

ÓÃjavascript¼ÓÔØÒ³ÃæʱָÏòÒ»¸öÃèµã¡£ÒÑÖªÈçºÎͨ¹ýÁ´½Ó×ö³ÉÃèµãµÄ£¬¿ÉÊÇÏëÈÃÒ³Ãæ¼ÓÔØʱֱ½ÓÖ¸Ïò²»ÐèÒªµã»÷Á´½Ó¡£
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" &quo ......

JavaScriptµÄdTreeÎÊÌ⣬ÔÚÏßµÈ - Java / Web ¿ª·¢

²úÆ·µÄÅäÖÃÒ³Ãæ¹²ÓÃÒ»¸öÓÃJavaScriptµÄdTreeʵÏÖµÄÊ÷Ðνṹ£¬ÏÔʾµÄʱºò£¬Ê÷Ðνṹ¿¿ÔÚÒ³ÃæµÄ×î×ó±ß£¬¸úÎÒµÄÅäÖÃÒ³ÃæÖмä¸ôÁËÒ»´ó¿é£¬ÏÖÔÚÏë°ÑÊ÷ÐÎĿ¼¾ÓÖУ¬½ô¿¿ÔÚÅäÖÃÄÚÈÝÅԱߣ¬ÈçºÎ¿ØÖÆÊ÷ÐÎĿ¼µÄλÖã¬ÒÔ¼°¿É²»¿ ......

JavaScript½Ù³Ö - Web ¿ª·¢ / JavaScript

ÎÒÔÚheadÖÐдÁËÏÂÃæµÃ´úÂë,Ïë½Ù³Öalertº¯Êý£¬¿ÉÊDz»ÖªµÀΪʲô£¬½«Õâ¸öhtml´ò¿ªÊ±£¬µ¯³öÁ½¸ö¿ò¶¼ÊÇÄÚÈݶ¼ÊÇab£¬ÎÒÒѾ­½Ù³ÖÁËÕâ¸öº¯Êý£¬ÎªÊ²Ã´Ã»ÓÐЧÄØ£¿
ÎÒÔÚÏÂÃ涨Òå¸öbuttonÔÚonclickʼþÖÐÌí¼Ó´úÂëalert£¨¡°ab¡± ......

JavaScriptÉÏ´«ÎļþÎÊÌâ - Web ¿ª·¢ / JavaScript

ÔÚ¿Í»§¶ËÖªµÀÎļþ·¾¶£¬ÎÒÏë²»ÓÃfileUpload¿Ø¼þ°ÑÕâ¸öÎļþ´«µ½·þÎñÆ÷£¬Ò²¿ÉÒÔÓÃfileupload¿Ø¼þµ«ÊÇÕâ¸ö¿Ø¼þ±ØÐëÒþ²Ø£¨¾ÍÊDz»ÓÃÕâ¸ö¿Ø¼þÀ´Ñ¡Ôñ·¾¶£©
ÇëÎÊÄܲ»ÄÜʵÏÖ£¡£¡£¡
ûÓÐÈË×ö¹ýÂ𣡣¡£¡£¡£¡

ÄDz»¾ÍÊÇľÂí ......

javascriptÖÐidºÍname - Web ¿ª·¢ / JavaScript

Ë­ÄܸøÎÒ½²Ò»ÏÂÔÚjavascriptÖÐidºÍnameÓÐʲôÑùÇø±ð£¿
Ò»¸öÒ³ÃæÖÐ id×îºÃÖ»ÓÐÒ»¸ö ÒòΪ javascript ÓÐ getElementById("id")Ö®ÀຯÊý
name ¿ÉÒÔÓжà¸ö ³£ÓÃÔÚÌá½»ÇëÇóÊ·þÎñÆ÷¶Ë»ñÈ¡
Ò»¸öÔªËØÖÐ×îºÃÉè ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ