Jquery select DOM

Jquery select DOM

roineroine Posts: 14Questions: 0Answers: 0
edited April 2012 in General
Hi,

I'm new in datatables, and i meet a porblem already.
So i'm using ajax dataSource and aoColumns to define my thead and my html look like this.
[code][/code]
When I do a simple test like
[code]$("tr").click(function(){
alert('test')
})[/code]

It doesn't works. How to be able to select the dom element without creating the html by hand.


More details http://debug.datatables.net/efogom

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    Have a look at this FAQ: http://datatables.net/faqs#events :-)

    Allan
  • roineroine Posts: 14Questions: 0Answers: 0
    Perfect! Thanks!
This discussion has been closed.