Getting Row ID with IE not succeeding, ([object] instead)
Getting Row ID with IE not succeeding, ([object] instead)
Hi,
I'm asking this question here because I'm desperate now :)
I have datatables and have defined following
[code]
$('#settingtime td.setting').live('mouseover', function(event){
var id1=$(this).closest('tr').attr('id');
alert(id1);
....
[/code]
This alerts row id correctly using Firefox but using IE it alerts "[object]".
Even using "this.parentNode.id" works with FF but not with IE.
What to do??
I'm asking this question here because I'm desperate now :)
I have datatables and have defined following
[code]
$('#settingtime td.setting').live('mouseover', function(event){
var id1=$(this).closest('tr').attr('id');
alert(id1);
....
[/code]
This alerts row id correctly using Firefox but using IE it alerts "[object]".
Even using "this.parentNode.id" works with FF but not with IE.
What to do??
This discussion has been closed.
Replies
but how to get this work with Serverside processing.. Weird.
I had: $row["DT_RowId"][] when creating json.
$row["DT_RowId"] works.
I hate IE :/