I am using a piece of code in JavaScript as:
if (td_sel.addEventListener) {
//alert('event listener');
td_sel.addEventListener("click" , function() { DeleteRow(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
DeleteRowfunction is in other scope then posted code.