javascriptÈçºÎʵÏÖÒ»¸ötableÖеÄÁ½¸ö×ֶμÆËã
ÀýÈç:
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table">
<tr>
<td><table id="tb" width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#EEEEEE">
<tr >
<td class="td_center" width="10%" nowrap>н×ÊÏîÄ¿</td>
<td class="td_center" width="10%" nowrap>¼ÆËã½ð¶î</td>
<td class="td_center" width="10%" nowrap>µ÷Õû½ð¶î</td>
<td class="td_center" width="10%" nowrap>ºÏ¼Æ</td>
</tr>
<tr class="tr2" onMouseOut="this.style.backgroundColor='';this.style.color=''"
onMouseOver="this.style.backgroundColor='#E2FFFD'">
<td align="center">»ù±¾¹¤×Ê</td>
<td align="center">1000</td>
<td align="center"><input type="text"></td>
<td align="center"><input type="text" readonly></td>
</tr>
</tabl
Ïà¹ØÎÊ´ð£º
Èý¸öÊýx,y,z ±È´óС..
var x,y,z,t;
if (x>y)
{t=x;x=y;y=t;} //½»»»x,yµÄÖµ
if(x>z)
{t=z;z=x;x=t;}//½»»»x,zµÄÖµ
if(y>z)
{t=y;y=z;z=t;}//½»»»z,yµÄÖµ
ÕâÊÇ ......
ÓÃjavascript½«Êý¾Ýµ¼³öµ½Îı¾Îļþ(txt)ÖÐ..
Ê×ÏȼÙÉèÒѾÓÐÁËÐèҪдÈëµÄÎı¾ÄÚÈÝ var txtContent ="ÐèҪдÈëµÄÄÚÈÝ";
ÏÖÔÚÐèÒªÓÃjavascript½«ÄÚÈÝдÈëtxtÎļþ(Õâ¸ötxtÎļþ²»´æÔÚ,ÐèÒª´´½¨)ÖÐ,È»ºóдºÃÖ ......
ÎÒÏëÎÊÒ»ÏÂÈçºÎÓÃjavascript¶¯Ì¬ÊµÏÖÏñÎÒÃÇÕâ¸öÍøÕ¾×ó±ßµÄĿ¼£¬Ð»À²£¡
??
ºÇºÇ£¡Ð»Ð»°¡£¡
¶¥Ò»ÏÂ
ÄãÃÇÊÇÊ²Ã´ÍøÕ¾°¡£¬ÒªÊǺǫ́ÊÇjavaÖ±½Ójsp£¬Èç¹ûºǫ́ÊÇc£¬ÄǾÍÓÃcgiÉú³Éxml£¬js¶¯Ì¬È¥¶ÁxmlµÄÊý¾Ý
Ó ......
˽éÉܼ¸¸öºÅµãµÄJAVASCRIPT¶ÔÏóÊôÐÔµÄÎĵµÑ½£¡
function test()
{
this.prote=function{return "ddd"};
}
.........................
½¨Á¢Ò»¸öjsÎĵµ£¬»ñµÃÒ»¸ö¶ÔÏó,¡£Ò»Ï£¬¾Í ......