[ת]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 ¿ª·¢µÄ¿ò¼Ü¸ÅÀÀ
Joe Lennon, Èí¼þ¿ª·¢ÈËÔ±, ×ÔÓÉÖ°ÒµÕß
¼ò½é£º ÏÖ´ú Web Õ¾µãºÍ Web Ó¦ÓóÌÐòÇãÏòÓÚÒÀÀµ´óÁ¿¿Í»§¶Ë JavaScript À´Ìṩ·á¸»µÄ½»»¥¹¦ÄÜ£¬ÓÈÆäÊÇÒì²½ HTTP ÇëÇóµÄ³öÏÖʹµÃ²»Ë¢ÐÂÒ³Ãæ¾Í¿ÉÒÔ´Ó·þÎñÆ÷¶Ë½Å±¾»òÊý¾Ý¿âϵͳ·µ»ØÊý¾Ý»òÏìÓ¦¡£ÔÚ±¾ÎÄÖУ¬Äú½«Á˽âÈçº ......
´úÂëÖ÷ÒªÊDzÙ×÷cookieµÄÁ½¸öº¯Êý£ºÒ»¸öÊÇsetCookieÓÃÓÚÉèÖÃcookieµÄÖµ£¬ÁíÍâÒ»¸öÊÇgetCookie ÓÃÓÚÈ¡cookieµÄÖµ£¬ÊµÏÖÁ˼òµ¥µÄcookie´æÈ¡²Ù×÷£¬ºÜ¼òµ¥£¬´úÂëÈçÏ£º
<mce:script language="JavaScript" type="text/javascript"><!--
function setCookie(name,value)
{
//ÓÃÓÚ´æ´¢¸³Öµ¸ødocument.cookieµÄc ......
MarqueeͼƬÎÞ·ì¹ö¶¯¹Ø¼ü´Ê£º Marquee
ÏÈÁ˽âһϠ......
Windows7ÏÂIIS7µÄ°²×°¼°ASPÅäÖ÷½·¨¡ï
±¾ÎĽ²ÊöÁËÔÚWindows 7ÏÂÈçºÎ°²×°IIS7£¬ÒÔ¼°IIS7ÔÚ°²×°¹ý³ÌÖеÄһЩÐèҪעÒâµÄÉèÖã¬ÒÔ¼°ÔÚIIS7ÏÂÅäÖÃASPµÄÕýÈ··½·¨¡£×ªÔعý³ÌÖв»µÃÒÔÈκη½Ê½ºÍ·½·¨ÓÃÓÚÉÌÒµÓÃ;£¬Çë×¢Ã÷³ö´¦¡£Ð»Ð»ÄúµÄÖ§³Ö¡£×£Äú°²×°¼°µ÷ÊԳɹ¦¡£
×¢£º±¾ÈË°²×°µÄÊÇWindows 7 RC 7100 32λÖÐÎÄÆì½¢°æ ¡£
ÔÚWindow ......
option explicit
dim str1,str2
str1 ="order|||shiyang:100,mayang:200"
str2 = "book|||shuming:¼ÆËã»ú,dingjia:100"
'ÉùÃ÷2¸öÈ«¾Ö¶ÔÏó
'·ÅÆúÁËÒ»¿ªÊ¼Ï£ÍûÓÃÊý×é´æ´¢µÄ·½Ê½£¬ÄǸöËäȻЧÂʸü¸ß£¬µ«ÊÇÐèÒª×Ô¶¨ÒåµÄarray_pushobjº¯Êý£¬ËùÒÔ´Ë´¦²»×öÌÖÂÛÁË
dim objname_g
dim classname_g
'·µ»ØʵÌåÀà
function getO ......