[ת]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 ÇëÇóµÄ³öÏÖʹµÃ²»Ë¢ÐÂÒ³Ãæ¾Í¿ÉÒÔ´Ó·þÎñÆ÷¶Ë½Å±¾»òÊý¾Ý¿âϵͳ·µ»ØÊý¾Ý»òÏìÓ¦¡£ÔÚ±¾ÎÄÖУ¬Äú½«Á˽âÈçº ......
MarqueeͼƬÎÞ·ì¹ö¶¯¹Ø¼ü´Ê£º Marquee
ÏÈÁ˽âһϠ......
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......
Õⲿ·Ö˵һÏÂ×î½ü·Ç³£Á÷ÐеÄʼþ´úÀí¡£Ê¼þ´úÀíµÄʵÏÖ¼òµ¥À´Ëµ£¬ÊÇ°Ñʼþ°ó¶¨µ½Ä¿±êÔªËصÄ×æÏÈÔªËØÉÏ£¬È»ºóͨ¹ýðÅÝ»ò²¶»ñµÃµ½Ê¼þÔ´£¬È»ºóÔÙÅж¨Ê¼þÔ´ÊÇ·ñµÈÓÚÄ¿±êÔªËØÔÙÖ´Ðлص÷º¯Êý¡£ÓÉÓÚ¶ÔÄ¿±êÔªËصÄÅж¨ÓÐʱ·Ç³£Ä£ºý£¬Òò´Ëͨ¹ýÅж¨¼´¿Éµ÷Óûص÷º¯Êý£¬ÕâÑù£¬ÎÒÃǾʹﵽһ¸ö¼àÌýÆ÷ΪÐí¶àʼþÔ´·þÎñµÄÄ¿µÄ¡£¶ÔÓÚÐÔÄÜÒ»Ïò ......
VBScript:
¶¨Òå±äÁ¿Ê±ºò²»ÄÜÖ±½Ó¸³Öµ£¬È磺
Dim i=1 ÊÇ´íÎóµÄ£¬Ó¦¸ÃÕâÑù£º
Dim i
i = 1
——————————————
½áÊø³ÌÐò£ºresponse.end
Ìø³öÑ»·»òÕߺ¯Êý¡¢×Ó³ÌÐòµÈÓÃexit …
——————&m ......