ÐÂÈËÀ´´Ë¹òÇó½â´ðjavascript ±íµ¥ÑéÖ¤¹¦ÄÜʧЧ
function check(){
if(document.form1.LXRMC.value=="" || document.form1.DZ.value=="" || document.form1.LXRMC.value==""
|| document.form1.EMAIL.value=="" || document.form1.FLBH.value=="1")
{
alert("Ç뽫±ØÌîÏîÌîдÍêÕû£¡");
return false;
}
return true;
}
ÕâÑù¿ÉÒԳɹ¦´ïµ½ÑéÖ¤µÄÄ¿µÄ£¬¸Ä³ÉÏÂÃæÕâ¸öÔõô¾Í²»ÐÐÁË£¿¶¼ÊDz»ÑéÖ¤Ö±½Ó³É¹¦
function check(){
if(document.form1.LXRMC.value=="" || document.form1.DZ.value=="" || document.form1.LXRMC.value==""
|| document.form1.EMAIL.value=="" )
{
alert("Ç뽫±ØÌîÏîÌîдÍêÕû£¡");
return false;
}
if(document.form1.FLBH.value=="1"£©
{
alert("ÇëÑ¡Ôñ·ÖÀ࣡");
return false;
}
&n
Ïà¹ØÎÊ´ð£º
ÇóÒ»¸öjavascript½Å±¾..
µ±µã»÷Õâ¸ö<a>Ìí¼Ó¸½½ü</a>Á´½Óʱ¾Í»áÌí¼Ó¶àÒ»ÐÐÉÏ´«¿òºÍ°´Å¥,ºÍ×îºóÒ»¸öÅԱ߻áÏÔʾ"È¡Ïû"µÄÁ´½Ó,µã»÷Õâ¸öÈ¡Ïû¾Í»áÈ¥µô×îºóÒ»ÐÐ,Ò»¸öÕâ¸ö½Å±¾Ôõôд?Íò·Öлл..
Ò ......
ÎÒÏëÎÊÒ»ÏÂÈçºÎÔÚ»ðºüÖйرգ¬·Ç½Å±¾´ò¿ªµÄÒ³Ãæ£¬ºÃÏñwindow.close()²»¹ÜÓÃO(¡É_¡É)O~£¬
°Ù¶Èһϣ¬×Ô¼ºÊÔÊÔ
<script language="javascript" type="text/javascript">
& ......
<%
function getName(num)
......
end function
%>
<script>
var num=1;
var xx=<%=getName(num)%>
</script>
ÈçºÎ²ÅÄÜÔÚjava ......
ËÄܸøÎÒ½²Ò»ÏÂÔÚjavascriptÖÐidºÍnameÓÐʲôÑùÇø±ð£¿
Ò»¸öÒ³ÃæÖÐ id×îºÃÖ»ÓÐÒ»¸ö ÒòΪ javascript ÓÐ getElementById("id")Ö®ÀຯÊý
name ¿ÉÒÔÓжà¸ö ³£ÓÃÔÚÌá½»ÇëÇóÊ·þÎñÆ÷¶Ë»ñÈ¡
Ò»¸öÔªËØÖÐ×îºÃÉè ......
Ëæ×ÅAjax, RIAÕâÁ½ÄêѸËÙ·¢Õ¹, JavascriptÓ¦ÓÃÖð½¥±»Ìáµ½Õý¹ì. ÎÒ֮ǰҲ²»ÊÇרÃÅ×öJavascriptµÄ, µ«ÊÇ, ÏÖÔڵŤ×÷ÊÇÒÔJavascriptΪÖ÷, ¸½´øPHP¿ª·¢..
¿ª·¢±³¾°: ÍøÒ³ÓÎÏ·.
Javascript²å¼þ: jQuery, jQueryUI
ÒòÎ ......