ÈçºÎÅжÏÒ»¸ö×Ö·û´®ÀﺬÓÐhtml±êÇ©
<html>
<script language="javascript" defer>
function isvalid()
{
Input_Str=document.getElementById("tsinput").value;
document.getElementById("ts").innerHTML=Input_Str;
if(Input_Str!=document.getElementById("ts").innerText)
alert("include Html Element.....");
}
</script>
<body>
<span id="ts" style="visibility:hidden;position:absolute" width=0 height=0></span>
<input type="text" value="" id="tsinput">
<input type="button" value=" " id="tsinput" onclick="isvalid()">
</body>
</html>
Ïà¹ØÎĵµ£º
http://www.w3school.com.cn/htmldom/met_table_deleterow.asp
¶¨ÒåºÍÓ÷¨
deleteRow() ·½·¨ÓÃÓÚ´Ó±í¸ñɾ³ýÖ¸¶¨Î»ÖõÄÐС£
Óï·¨
tableObject.deleteRow(index)
˵Ã÷
²ÎÊý index Ö¸¶¨ÁËҪɾ³ýµÄÐÐÔÚ±íÖеÄλÖá£ÐеıàÂë˳Ðò¾ÍÊÇËûÃÇÔÚÎĵµÔ´´úÂëÖгöÏÖµÄ˳Ðò¡£<thead> ºÍ <tfoot> ÖеÄÐÐÓë±íÖÐÆäËüÐÐÒ»Æð ......
תÔØ£ºhttp://jiangzhengjun.javaeye.com/blog/480996
ʼþ
DOMͬʱ֧³ÖÁ½ÖÖʼþģʽ£º²¶»ñÐÍʼþºÍðÅÝÐÍʼþ£¬µ«ÊÇ£¬²¶»ñÐÍʼþÏÈ·¢Éú¡£Á½ÖÖʼþÁ÷»á´¥¼°DOMÖеÄËùÓжÔÏ󣬴Ódocument¶ÔÏó¿ª
ʼ£¬Ò²ÔÚdocument¶ÔÏó½áÊø£¨´ó²¿·Ö¼æÈݱê×¼µÄä¯ÀÀ»á¼ÌÐø½«Ê¼þ²¶»ñ/ðÅÝÑÓÐøÖÁwindow¶ÔÏ󣩣¬DOMÖеÄÔªËض¼»áÁ¬ÐøÊÕµ½Á½´ÎÊ ......
<Html>
<Head>
<SCRIPT LANGUAGE="JavaScript">
<!--
//¶¨Òå select ÔÖµ
var oldValue,oldText;
//selectÏÂÀ¿òµÄonkeydownʼþ£¬ÐÞ¸ÄÏÂÀ¿òµÄÖµ
function catch_keydown(sel){
switch(event.keyCode) {
case 13: //ȯ ......
ת×Ôhttp://www.cnblogs.com/jujusharp/archive/2009/12/20/10-Rare-Html-Tag-You-Should-Know.html
ÀïÃæÓÐЩ±ê¼Ç,»¹ÕæÊÇûÓùý,×Ô¼ºÒ²¼ÇÒ»ÏÂÁË.
ÔÎĵØÖ·:http://net.tutsplus.com/articles/web-roundups/10-rare-html-tags-you-really-should-know/
Èç½ñ,Web¿ª·¢¹¤³ÌʦÔÚѧϰºÍ¹¤×÷ÖÐÍ ......