Getting Row ID with IE not succeeding, ([object] instead)

Getting Row ID with IE not succeeding, ([object] instead)

btzbtz Posts: 22Questions: 0Answers: 0
edited October 2011 in General
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??

Replies

  • btzbtz Posts: 22Questions: 0Answers: 0
    I made client side datatables and $(this).closest('tr').attr('id'); is working with IE :S

    but how to get this work with Serverside processing.. Weird.
  • btzbtz Posts: 22Questions: 0Answers: 0
    Solved..

    I had: $row["DT_RowId"][] when creating json.
    $row["DT_RowId"] works.

    I hate IE :/
This discussion has been closed.