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

ÔÚasp.netÀïÃæ½Å±¾³ö´í - .NET¼¼Êõ / ASP.NET

function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;

var div1=document.getElementById("divPwd");

if (pwd.value=="")
{
div1.innerHTML="<font color='red'>ÇëÊäÈëÃÜÂ룡</font>";
return false;
}else{

return true;
}
ÔËÐÐÌáʾvalueΪ¿Õ»òÕß²»ÊǶÔÏó¡¢ÇëÎÊÊÇʲôԭÒò¡¢°ïÎÒ½â¾öһϡ¢Ð»Ð»¡£
var pwd=document.all.form.txtOpwd; 


PS:document.all[]ÊÇÎĵµÖÐËùÓбêÇ©×é³ÉµÄÒ»¸öÊý×é±äÁ¿

ÕâÑù£ºdocument.all["ÔªËØÃû"].ÊôÐÔÃû


document.all.txtOpwd--->document.all["xxx"].xxxx;

лл¡¢µ«ÊÇ»¹ÊDz»Ðа¡¡¢¸øÎÒÌáʾ˵document.all.txtOpwd.valueΪ¿Õ¡¢»òÕß²»ÊǶÔÏó¡£

document.all.txtOpwd------->document.all["txtOpwd"].text;

ÎÒÊÇдµÄÄÇÑù°¡¡¢µ«ÊÇÌáʾ´íÎóµÄʱºò¾ÍÊÇdocument.all.txtOpwd.valueΪ¿Õ»òÕß²»ÊǶÔÏó¡£ËùÒÔ²»¶®µ½µ×ÊÇÄÄÀï³ö´íÁË¡¢

°Ñhtml´úÂëÒ²Ìù³öÀ´

var pwd=document.getElementById("txtOpwd");

»¹Ã»½â¾ö Â¥Ö÷ ÕæÅå·þÄã

ÓÃÕâ¸övar pwd=document.getElementById("txtOpwd"); Ò²ÐÐ

½¨ÒéÓÃdocument.getElementById("txtOpwd"); 
²é¿´Ò»ÏÂHTMLÀïÓж¨Òåid="txtOpwd"ÁËÂð£¿

ͬÒâÂ¥Éϵģ¬Â¥Ö÷Äã¹À¼ÆûÓÐÔÚÒ³ÃæÖж¨Ò壬¿ªÊ¼ÉùÃ÷±äÁ¿pwdʱ£¬ÄãÓ¦¸ÃÓÃdocument.getElementByID("ÕâÀïдÃÜÂë¿òµÄid")

²»ÒªÎó


Ïà¹ØÎÊ´ð£º

asp.netÖпÉÊäÈëµÄÏÂÀ­¿òµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
  ''' <summary>
  '' ......

¼±ÇóASP¡£NETC#¹ºÎï³µ´úÂë

×î½üÔÚ×ö¸öÍøÉÏÉ̳ǣ¬¹ºÎﳵģ¿é£¬Ã»ÓÐ×ö¹ý£¬Âé·³¸÷λ°ïæ˵Ï´óÖÂ˵ÏÂ˼·£¬ÄÜ·¢Ò»·ÝÔ´Âë¸üºÃ¡£Ð¡µÜÏÈл¹ý¸÷λÁË£»
QQ£º413763818£»
eamil:swebook@126.com
ÍøÉÏÒ»´ó¶Ñ£¡

www.51aspx.com

ȥϠ......

asp.net mvc Õ¾µã·¢²¼Åöµ½ÎÊÌâ - .NET¼¼Êõ / ASP.NET

·þÎñÆ÷ÏÖÔÚÊÇ¡£net 2.0µÄ
ÎÒÏÖÔÚµÄÏîÄ¿¾ÍÊÇasp.net mvc + linqµÄ£¬ÏÖÔÚ·þÎñÆ÷µÄ»·¾³ÅäÖÃÓò»ÁË¡£
²»ÖªµÀÓÐÇ°±²Åöµ½¹ýÕâÑùµÄÎÊÌâû¡£
ÄѵÀ·þÎñÆ÷±ØÐëҪװ.net3.5 ºÍ asp.net mvc
ÇëÇ°±²Ö¸µã
²»×°ÄãÈÏΪÄãÒªÔõô ......

ASP¿ò¼Ü - .NET¼¼Êõ / ASP.NET

±¾ÈËÒ»Ö±´ÓÊÂjavaµÄ¿ª·¢£¬ spring , strutsµÈµÈ£¬ ÏÖÔÚÂíÉÏÒª½ÓÒ»¸öasp.netµÄÏîÄ¿£¬ ²»ÖªµÀasp.netÖÐÓÐûÓкÍjavaÖеÄstrutsÀàËƵĶ«Î÷£¬ ¿ÉÒÔÔÚËûµÄ»ù´¡ÉÏ£¬Ö±½Ó¿ª·¢£¬ ЧÂʸߣ¬ ¶øÇÒºÃά»¤ ¡£¡£ лл£¬Ï£Íû´ó¼Ò£¬¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ