childNodes not working in Firefox and Chrome but working in IE

前端 未结 8 2014
太阳男子
太阳男子 2021-01-06 07:41

I have a gridview in its 3rd cell, there is textbox control, I am calling javascript function on onchange.

Can some body tell me why this is not working in Firefox a

8条回答
  •  天涯浪人
    2021-01-06 08:13

    Try out this. I have same problem and this problem is resolved by just replace "childNodes" with "children"

    alert(grd.rows[ri].cells[3].children[0].value);
    

提交回复
热议问题