childNodes not working in Firefox and Chrome but working in IE

前端 未结 8 2040
太阳男子
太阳男子 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:01

    I believe that this is because IE ignores text nodes that only contain newlines and tabs. Personally I prefer they be ignored but I would rather have consistency across the browsers.

    text

提交回复
热议问题