JavaScript È«¾Ö±äÁ¿´«Öµ - Web ¿ª·¢ / JavaScript
<script language="javascript">
var canSubmit = false ;
function formCheck()
{
getResult("TDJY_SCANDOC","SCANDATANAME");
if(canSubmit==false){
return false;
}
else{
return true;
}
}
//¹¹ÔìAjax¶ÔÏ󣬻ñÈ¡·þÎñÆ÷¶Ë¶ÔÓ¦µÄÐÅÏ¢
//Ê×ÏÈÊÇÈ¡µÃXmlHttpRequest£»
//È»ºóÉèÖøÃÇëÇóµÄurl£ºreq.open("GET",url, true);
//½Ó×ÅÉèÖÃÇëÇó·µ»ØÖµµÄ½ÓÊÕ·½·¨£ºreq.onreadystatechange = complete;
//¸Ã·µ»ØÖµµÄ½ÓÊÕ·½·¨Îª——complete();
//×îºóÊÇ·¢ËÍÇëÇó£ºreq.send(null);
function getResult(tblName,attrName)
{
var url = "AjaxConn.jsp?tblName=" + tblName + "&attrName=" + attrName;
¡¡¡¡if (window.XMLHttpRequest)
{
xmlHttp = new XMLHttpRequest();
¡¡¡¡}
else if (window.ActiveXObject)
{
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
¡¡¡¡}
¡¡¡¡if(xmlHttp)
{
xmlHttp.open("GET",url, true);
xmlHttp.onreadystatechange = function() {complete();}
xmlHttp.send(null);
¡¡¡¡}
&n
Ïà¹ØÎÊ´ð£º
Çë½Ì¸÷λ´óÏÀ¡£
ÎÒÓÐÒ»Ò³Ãæa1.asp ÐèÒª´òÓ¡¡£ºáÏò£¬ÉÏ30£¬×ó5£¬ÓÒ5£¬ÏÂ5£¬Ò³Ã¼¡¢Ò³½ÅΪ¿Õ¡£
µ±Óû§µ½´ïa1.aspÒ³Ãæ¾Í×Ô¶¯ÉèÖÃÉÏÊöÃèÊö¡£À뿪a1.asp¾Í»Ö¸´Ä¬ÈÏÉèÖá£
Çë½Ì´óÏÀÃÇÈçºÎ±àÂ롣лл
û¿´Ã÷°×£¬ËµµÃ¸üÃ÷ ......
<%
function getName(num)
......
end function
%>
<script>
var num=1;
var xx=<%=getName(num)%>
</script>
ÈçºÎ²ÅÄÜÔÚjava ......
ÕâÀïÊÇһȺÈÈ°®¡¢²¢ÇÒÔ¸Òâ·ÖÏí֪ʶ¡¢°®ºÃ½»Á÷JavascriptµÄÈË¡£Èç¹ûÄúÕýÔÚѧϰʵ¼ù£¬²¢ÇÒÔ¸·ÖÏíÄãµÄѧϰÐĵúÍѧϰ³É¹û¸ø±ðÈË£¬¿ÉÒÔÉêÇë¼ÓÈëÎÒÃǵÄȺ£º100172168¡£ÄÜÔÙ½øÒ»²¿·ÖÈË
ÒýÓÃ
ÕâÀïÊÇһȺÈÈ°®¡¢²¢ÇÒÔ¸Òâ· ......
Äܹ»²é´í
ÓÃMyEclipseÄÚÖõıà¼Æ÷¾ÍͦºÃµÄ¡£
Ò²¿ÉÒÔÓÃרÃŵÄJavascript±à¼Æ÷£¬±ÈÈçspket£¬Õâ¸ö³¬¼¶ºÃÓ㬶øÇÒÖ§³ÖExtjsµÄ´úÂ븨Öú¡£¿ÉÒÔÏÂÒ»¸ö~~Æä°²×°³ÌÐòÊÇÒ»¸öjar°ü£¬¿ÉÒÔË«»÷ÔËÐУ¬°²×°ºÃ¾ÍÄÜÓÃ
dreamv ......
JavaScript´úÂëÔõôʵÏÖ£¿
Îļþ¼ÐÀïÃæºÜ¶àjpg¸ñʽµÄͼƬ ±ÈÈçcÅÌϵÄ22Îļþ¼Ð Ëæ»úÏÔʾһÕÅ ÔõôʵÏÖ ÎÒÊÇÐÂÊÖ Ï£ÍûÓгÌÐò
End_rbody_65127984//-->
¸Ã»Ø¸´ÓÚ2010-05-27 12:39:06±»°æÖ÷ɾ³ý
......