开发者

Event fire in firefox

I am using a piece of code in JavaScript as:

if (td_sel.addEventListener) {
    //alert('event listener');
    td_sel.addEventListener("click" , function() { DeleteR开发者_Go百科ow(selected_val) }, false);
}

where td_sel is the td element created dynamically.

This is not working in Firefox. Any suggestions?


Everything looks fine. The only thing is that maybe DeleteRow function is in other scope then posted code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜