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

asp.net³£ÓõÄjavascript¾­µäÀý×Ó

 ×Ô¼ºÔÚ¿ª·¢ÖÐÅöµ½µÄ+ÁËһЩÔÚÍøÉÏËѵ½µÄ¡£¡£ºÍ´ó¼Ò·ÖÏíÏ¡£
DropdownlistÎÞˢеÄÀý×Ó¡£xml.
ÀýÈçÎı¾ÑéÖ¤!
ÏÂÃæÊÇÒ»¸öµ¥Ñ¡°´Å¦Ç°Ì¨²»Ë¢ÐµÄÀý×Ó.ÓкõľÍÍùÉÏÌù
<mce:script language="javascript"><!--
function SetButton()
{
if(document.all.rdoByHuman.checked==true)
{
document.all.cboHrPut.disabled = "";
document.all.cboAnswerHr.disabled = "";


document.all.cboGroup.disabled = true;

}
if(document.all.rdoByGroup.checked==true)
{
document.all.cboHrPut.disabled = true;
document.all.cboAnswerHr.disabled = true;

document.all.cboGroup.disabled = "";



}
}

// --></mce:script>

<asp:RadioButton id="rdoByHuman" onclick="SetButton();" runat="server" GroupName="TotalGroup" Checked="True" Text="°´ÈËÔ±"></asp:RadioButton>
e.Item.Attributes.Add("onmouseOver","this.style.backgroundColor='#dee3e7'");//Êó±êÒÆÉÏÈ¥µÄÑÕÉ«
e.Item.Attributes.Add("onmouseOut","this.style.backgroundColor='white'");
e.Item.Cells[2].Attributes.Add("onmouseOver","this.style.backgroundColor='red'");
e.Item.Cells[2].Attributes.Add("onmouseOut","this.style.backgroundColor='white'");//Ö¸¶¨Ä³ÁеÄÑÕÉ«
e.Item.Cells[3].Style["cursor"]="hand";
e.Item.Cells[4].Attributes.Add("onclick","alert('Äãµë¼ÇµÄID ÊÇ£º"+e.Item.Cells[4].Text+"');");//Ö¸¶¨ÏÔʾ×Ö¶Î
e.Item.Cells[1].Attributes.Add("title","'ºìº¢ÊÇδ½â¾öµÄ£¬À¶¾«ÁéÊÇÒѽâ¾öµÄ£¡'"+e.Item.Cells[0].Text.ToString());//ÏÔʾtitle
e.Item.Cells[0].Attributes.Add("onclick","window.open('xinxiForm.aspx?idmain="+e.Item.Cells[0].Text+"','','ToolBar=no,width=260,height=200');");
ÆÁ±ÕһЩ¼ü£º
function KeyDown(){ //ÆÁ±ÎÊó±êÓÒ¼ü¡¢Ctrl+n¡¢shift+F10¡¢F5ˢС¢Í˸ñ¼ü
//alert("ASCII´úÂëÊÇ£º"+event.keyCode);
if ((window.event.altKey)&&
((window.event.keyCode==37)|| //ÆÁ±Î Alt+ ·½Ïò¼ü ←
(window.event.keyCode==39))){ //ÆÁ±Î Alt+ ·½Ïò¼ü →
a


Ïà¹ØÎĵµ£º

JavaScript »ñÈ¡¶ÔÏóµÄ¸ß¶ÈºÍ¿í¶ÈÏêϸ˵Ã÷

scrollHeight: »ñÈ¡¶ÔÏóµÄ¹ö¶¯¸ß¶È¡£
scrollLeft:ÉèÖûò»ñȡλÓÚ¶ÔÏó×ó±ß½çºÍ´°¿ÚÖÐÄ¿Ç°¿É¼ûÄÚÈݵÄ×î×ó¶ËÖ®¼äµÄ¾àÀë
scrollTop:ÉèÖûò»ñȡλÓÚ¶ÔÏó×¶ËºÍ´°¿ÚÖпɼûÄÚÈݵÄ×¶ËÖ®¼äµÄ¾àÀë
scrollWidth:»ñÈ¡¶ÔÏóµÄ¹ö¶¯¿í¶È
offsetHeight:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓɸ¸×ø±ê offsetParent ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¸ß¶È
offsetL ......

ÓÃasp.net·¢ËÍÓʼþ£¬²âÊԳɹ¦

//Ò»£ºÓÃ×Ô¼ºµÄ·þÎñÆ÷×÷ΪÓʼþ·þÎñÆ÷ʱ£º
//Èç³öÏÖ£ºÓÊÏä²»¿ÉÓᣠ·þÎñÆ÷ÏìӦΪ: 5.7.1 Unable to relay for ***@gmail.com
//½â¾ö°ì·¨ÈçÏ£ºÔÚIISÖУ¬ÓÒ»÷“ĬÈÏSMTPÐéÄâ·þÎñÆ÷”£¬Ñ¡Ôñ“ÊôÐÔ”£¬Çл»µ½“·ÃÎʔҳ£¬µã»÷“Öм̔°´Å¥£¬ÔÚµ¯³ö¿òÖÐÑ¡Ôñ“½öÒÔÏÂÁбí³ýÍâ&rdq ......

JavaScriptÖеÄJSON

Ô­Ö·£ºhttp://www.dreamdu.com/blog/2008/10/19/json_in_javascript/
JavaScriptÖеÄJSON
×÷ÕߣºDouglas Crockford
Ô­ÎÄÍøÖ·£ºhttp://www.json.org/js.html
ÒëÕߣº¿É°®µÄºï×Ó
JavaScriptÕâÖÖ±à³ÌÓïÑÔÊ×ÒªµÄÄ¿µÄÊÇΪNetscape NavigatorÌṩһÖÖÒ³Ãæ½Å±¾ÓïÑÔ¡£ËüÈÔ±»ÆÕ±éµÄÈÏΪÊÇJavaµÄÒ»¸ö×Ó¼¯£¬µ«ÊÂʵ²¢·ÇÈç´Ë¡£ËüÊ ......

JavaScriptÖ®±£ÁôСÊýµãºóÖ¸¶¨Î»Êý

ÔÚ¿ª·¢¹ý³ÌÖо­³£Óöµ½Òªµ÷ÕûСÊýµÄ¸ñʽ£¬Èç±£ÁôСÊýµãºóÁ½Î»µÈµÈ¡£·½·¨Ò²ÆÄΪ³£¼û£¬±¸ÍüÈçÏ¡£
 µÚÒ»ÖÖ£¬ÀûÓÃmath.round 
   var original=28.453
1) //round "original" to two decimals
var result=Math.round(original*100)/100;  //returns 28.45
2) // round "original" to 1 dec ......

asp.netʹÓÃcookies

·½·¨1:
Response.Cookies["username"].Value="gjy";
Response.Cookies["username"].Expires=DateTime.Now.AddDays(1);
·½·¨2:
System.Web.HttpCookie newcookie=new HttpCookie("username");
newcookie.Value="gjy";
newcookie.Expires=DateTime.Now.AddDays(1);
Response.AppendCookie(newcookie);
´´½¨´ø ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ