请教一个javascript的问题!! 学习!看不懂!能否讲解一下?thanks~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 将vbscript语句直接用javascript语句替换啊 vbscript好像操作的时候对浏览器的有些限制要求的。可以用javasciprt实现的尽量用他实现,其实你只要搞懂了这里的vb实现的具体功能在javascript下自己写有关代码就可以那! 楼上的兄弟误解的我的意思了,vb不懂但功能还是明白的,主要是用JAVASCRIPT把功能写出来有困难; 再慢慢调试吧<script> //dim lcountmx_fj lcountmx_fj = 0; function dodelfj(l){ tabfj.deleteRow(document.getElementById("trfj" + l).rowIndex) } function baddfj(){ lcountmx_fj = lcountmx_fj+1 var oRow,oCell,ii,sss ///dim sss oRow=tabfj.insertRow orow.id="trfj" + lcountmx_fj if (lcountmx%2==0) orow.className="listrow1" else orow.className="listrow1_1" //'附件说明 ocell=orow.insertCell() ocell.className="ListCellRow" ocell.width="10" sss = "<nobr>附件说明</nobr>" ocell.innerHTML= sss //'附件说明内容 ocell=orow.insertCell() ocell.className="ListCellRow" ocell.width="50%" sss="<input type=text class=input id=fjbt" + lcountmx_fj + " name=fjbt" + lcountmx_fj + " value='' style='width:100%'>" ocell.innerHTML= sss //'附件上传 set ocell=orow.insertCell() ocell.className="ListCellRow" ocell.width="200" sss="<input type=file class=input id=fjwj" + lcountmx_fj + " name=fjwj" + lcountmx_fj + " value='' style='width:100%'>" ocell.innerHTML= sss set ocell=orow.insertCell() ocell.className="ListCellRow" ocell.innerHTML="<img src='../../../image/delete.gif' alt='删除' onclick='javascript:dodelfj(" + lcountmx_fj +")' style='cursor:hand'>" }</script> IP能访问含中文的资源文件, 用域名的就不行 java中 如何将Long型数据转换成String 一个简单而又奇怪的模拟HTTP POST问题,望伸出援助之手~~ 求对日开发的人员 进来看看 Java数据库编程中的几个常用技巧 tomcat如何象iis一样开机自动在后台启动? 请教asp函数转用jsp实现 PHP or JSP 是个问题? ★★★ 如何将网页数据报表保存到EXCEL文件中? ★★★ 关于weblogic的问题? 关于javascript的点击事件的问题! 很简单,只要有经验就行! 关于java和javascript实现动态树形菜单(从数据库中读取菜单项)
在javascript下自己写有关代码就可以那!
//dim lcountmx_fj
lcountmx_fj = 0; function dodelfj(l){
tabfj.deleteRow(document.getElementById("trfj" + l).rowIndex)
} function baddfj(){
lcountmx_fj = lcountmx_fj+1
var oRow,oCell,ii,sss
///dim sss
oRow=tabfj.insertRow
orow.id="trfj" + lcountmx_fj
if (lcountmx%2==0)
orow.className="listrow1"
else
orow.className="listrow1_1"
//'附件说明
ocell=orow.insertCell()
ocell.className="ListCellRow"
ocell.width="10"
sss = "<nobr>附件说明</nobr>"
ocell.innerHTML= sss
//'附件说明内容
ocell=orow.insertCell()
ocell.className="ListCellRow"
ocell.width="50%"
sss="<input type=text class=input id=fjbt" + lcountmx_fj + " name=fjbt" + lcountmx_fj + " value='' style='width:100%'>"
ocell.innerHTML= sss
//'附件上传
set ocell=orow.insertCell()
ocell.className="ListCellRow"
ocell.width="200"
sss="<input type=file class=input id=fjwj" + lcountmx_fj + " name=fjwj" + lcountmx_fj + " value='' style='width:100%'>"
ocell.innerHTML= sss
set ocell=orow.insertCell()
ocell.className="ListCellRow"
ocell.innerHTML="<img src='../../../image/delete.gif' alt='删除' onclick='javascript:dodelfj(" + lcountmx_fj +")' style='cursor:hand'>"
}
</script>