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

[ת]aspµÄtextboxµÄjavascriptÓ¦ÓÃ

<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server"> </script>
<html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server">
<title>ÎÞ±êÌâÒ³</title>
<script language="javascript" type="text/javascript">
//javascriptÉèÖÃÎı¾¿òµÄ×î´ó³¤¶È
function Button1_Click()
{
var txtBox1=document.getElementById("TextBox1");
txtBox1.maxLength=10;
return false;
}
//javascriptÉèÖÃÎı¾¿òµÄÊôÐÔΪֻ¶Á
function Button2_Click() {
var txtBox1=document.getElementById("TextBox1");
txtBox1.readOnly=true;
return false;
}
//javascriptÉèÖÃÐÐÊýÓëÎı¾¿òÀàÐÍ //½«<input type=text />¸Ä³É£¼textarea /> //idºÅ²»±ä
function Button3_Click()
{
//ÒƳýTextBox1
var textBox1=document.getElementById("TextBox1");
var textBox1id=textBox1.id; //µÃµ½TextBox1µÄ¸¸ÔªËØ
var parentE=textBox1.parentElement; parentE.removeChild(textBox1);
//´´½¨ÐÂÔªËØ
TextArea var newTextBox1=document.createElement("<textarea />");
newTextBox1.id=textBox1id;
newTextBox1.name=textBox1id;
newTextBox1.rows=10;
parentE.appendChild(newTextBox1);
// parentE.insertBefore(newTextBox1,textBox1);
return false;
}
//javascriptÉèÖÃÎı¾¿òµÄÎı¾
function Button4_Click()
{
var txtBox1=document.getElementById("TextBox1");
txtBox1.value='Öйú¡£ºÓ±±¡£±£¶¨¡£ÇúÑô¡£Íõ°®»Ô';
return false;
}
//javascriptÉèÖÃÊó±êÒƹýÈ¥ÏÔʾÎı¾
function Button5_Click()
{
var txtBox1=document.getElementById("TextBox1");
txtBox1.title='ÇúÑôÏصÚÒ»ÖÐѧ';
return false;
}
//ÉèÖÃÎı¾¿òµÄ¿É¼ûÐÔ //¿ÉÄÜÊǽ«TextBox1¿Ø¼þ´ÓdomÊ÷ÖÐɾ³ý
function Button7_Click()
{
var txtBox1=document.getElementById("TextBox1");
return false;
}
//javascriptÉèÖÃÊÇ·ñ×Ô¶¯»»ÐÐ //Ö»¶Ô<textare />ÓÐЧ
function Button6_Click()
{ return false; }
</script>
</head>
<body>
<form id="form1" runat


Ïà¹ØÎĵµ£º

JavaScript ¿ò¼Ü±È½Ï


JavaScript ¿ò¼Ü±È½Ï
ÏÔÖøÔöÇ¿ JavaScript ¿ª·¢µÄ¿ò¼Ü¸ÅÀÀ
Joe Lennon, Èí¼þ¿ª·¢ÈËÔ±, ×ÔÓÉÖ°ÒµÕß
¼ò½é£º ÏÖ´ú Web Õ¾µãºÍ Web Ó¦ÓóÌÐòÇãÏòÓÚÒÀÀµ´óÁ¿¿Í»§¶Ë JavaScript À´Ìṩ·á¸»µÄ½»»¥¹¦ÄÜ£¬ÓÈÆäÊÇÒì²½ HTTP ÇëÇóµÄ³öÏÖʹµÃ²»Ë¢ÐÂÒ³Ãæ¾Í¿ÉÒÔ´Ó·þÎñÆ÷¶Ë½Å±¾»òÊý¾Ý¿âϵͳ·µ»ØÊý¾Ý»òÏìÓ¦¡£ÔÚ±¾ÎÄÖУ¬Äú½«Á˽âÈçº ......

javaScriptʵÏÖ±³¾°ÒôÀÖÓë²¥·ÅÉùÒô

Ñо¿ÁË°ëÌì,²»¹ýòËÆ»¹ÊÇÖ»ÄÜÔÚIEÉÏʵÏÖ,ÆäËûä¯ÀÀÆ÷²»Ö§³ÖEMBED ±êÇ©
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>ÓÃjavascriptÖÆ×÷³¬Á´½ÓµÄ±³¾°ÒôЧ</title>
<script language="JavaScript" type="text/JavaScript">
<!-- ......

javascript ¸¸´°¿Ú ×Ó´°¿Ú

¸¸´°¿ÚÖÐÓÐÈýÖÖ·½Ê½´ò¿ª×Ó´°¿Ú£º
1£º
window.open(URL,windowName,parameters);
2:
alert(""); //µ¯³öÐÅÏ¢Ìáʾ¶Ô»°¿ò
confirm(""); //µ¯³öÐÅϢȷÈ϶Ի°¿ò
prompt(""); //¾ßÓн»»¥ÐÔÖʵĶԻ°¿ò
3:
//´´½¨Ä£Ì¬Äã¶Ô»°¿ò
window.showModalDialog(sURL,vArguments,sFeatures)
//´´½¨·Çģ̬¶Ô»°¿ò
window.showM ......

javascriptÖеÄsrcelement

srcElement ÊÇDomʼþÖеÄʼþ×î³õÖ¸Åɵ½µÄÔªËØ¡£
±ÈÈçÓÐÒ»¸ödiv£¬ÀïÃæÓÐÒ»¸ö°´Å¥¡£ÄãÏìÓ¦divµÄonclickʼþ£¬µ«Êµ¼ÊÉÏ£¬Äãµ¥»÷µÄÖ»ÊÇËüÄÚ²¿µÄ°´Å¥£¬ÄÇô£¬srcElementÖ¸ÏòµÄ£¬¾ÍÊÇÄǸö°´Å¥¡£
srcElementÖ»ÔÚIEÖÐÓÐЧ¡£
ÔÚOperaϵÁÐä¯ÀÀÆ÷ÖжÔÓ¦µÄÊôÐÔÊÇtarget
¸øÄãÒ»¸öIEÏÂʹÓõÄÀý×Ó¡£
<!DOCTYPE html PUBLIC "-//W ......

Windows7ÏÂIIS7µÄ°²×°¼°ASPÅäÖ÷½·¨¡ï

Windows7ÏÂIIS7µÄ°²×°¼°ASPÅäÖ÷½·¨¡ï
±¾ÎĽ²ÊöÁËÔÚWindows 7ÏÂÈçºÎ°²×°IIS7£¬ÒÔ¼°IIS7ÔÚ°²×°¹ý³ÌÖеÄһЩÐèҪעÒâµÄÉèÖã¬ÒÔ¼°ÔÚIIS7ÏÂÅäÖÃASPµÄÕýÈ··½·¨¡£×ªÔعý³ÌÖв»µÃÒÔÈκη½Ê½ºÍ·½·¨ÓÃÓÚÉÌÒµÓÃ;£¬Çë×¢Ã÷³ö´¦¡£Ð»Ð»ÄúµÄÖ§³Ö¡£×£Äú°²×°¼°µ÷ÊԳɹ¦¡£
×¢£º±¾ÈË°²×°µÄÊÇWindows 7 RC 7100 32λÖÐÎÄÆì½¢°æ ¡£
ÔÚWindow ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ