有关表格的操作 <td onclick="alert(this.innerText);">hahahahahah</td> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <table border=0><td id=test onclick="alert(test.outerText);">aaaa</td></table>这样可以有100分吗? <table><tr ondblclick="getValue(this)"> <td>aaaa</td></tr><tr ondblclick="getValue(this)"> <td>bbbbbb</td></tr></table><script>function getValue(obj){ alert(obj.innerText); return obj.innerText;}</script> <td ondblclick="javascript:alert(this.innerText);" >hahahahahah</td> <tr ondblclick="mm(this)">JS:function mm(e){ alert(e.outerHTML);} 在<td onclick=" 在这里能用if 之类的语句 "></td> window.showModalDialog("AgreeMent.asp","","dialogWidth=500px;dialogHeight=500px");还有其它的的参数吗那么showModalDialog的位置怎么来确定??????? showModalDialog(sURL [, vArguments] [, sFeatures]]) //打开一个模式对话框 //vArguments=需要向新开模式对话框传递的参数 //sFeatures=(*dialogHeight: sHeight; dialogLeft: sXPos;dialogTop: sYPos; dialogWidth: sWidth;center:{ yes | no | 1 | 0 | on | off };dialogHide:{ yes | no | 1 | 0 | on | off };edge:{ sunken | raised };help:{ yes | no | 1 | 0 | on | off };resizable:{ yes | no | 1 | 0 | on | off };scroll:{ yes | no | 1 | 0 | on | off };status:{ yes | no | 1 | 0 | on | off };unadorned:{ yes | no | 1 | 0 | on | off };*) 菜鸟求解? jquery指定table某tr下动态添加tr 给系统添加图片上传修改控件,选那个较好。 js第9讲 JavaScript DOM的操作(上) 各位大大,JSP初学者求助…… jquery 查找子元素 Response.Write("<script>help('测试....')</script>")与前台直接调用的区别??? getmonth()一问 在线编辑器生成的内容如何输出?拜托~~~ 求javascript和vbscript文档 怎样用JavaScript将点击一个链接打开的浏览器窗口自动最小化 看这个简单脚本
<td id=test onclick="alert(test.outerText);">aaaa</td>
</table>这样可以有100分吗?
<tr ondblclick="getValue(this)">
<td>aaaa</td>
</tr>
<tr ondblclick="getValue(this)">
<td>bbbbbb</td>
</tr>
</table>
<script>
function getValue(obj){
alert(obj.innerText);
return obj.innerText;
}
</script>
function mm(e)
{
alert(e.outerHTML);
}
还有其它的的参数吗
那么showModalDialog的位置怎么来确定???????
//打开一个模式对话框
//vArguments=需要向新开模式对话框传递的参数
//sFeatures=(*dialogHeight: sHeight; dialogLeft: sXPos;
dialogTop: sYPos; dialogWidth: sWidth;
center:{ yes | no | 1 | 0 | on | off };
dialogHide:{ yes | no | 1 | 0 | on | off };
edge:{ sunken | raised };
help:{ yes | no | 1 | 0 | on | off };
resizable:{ yes | no | 1 | 0 | on | off };
scroll:{ yes | no | 1 | 0 | on | off };
status:{ yes | no | 1 | 0 | on | off };
unadorned:{ yes | no | 1 | 0 | on | off };*)