Problem selecting TableTools elements
Problem selecting TableTools elements
peterkronenberg
Posts: 112Questions: 0Answers: 0
Allan,
I'm having a very strange problem selecting some of the TableTools elements with jQuery. I only have this problem with DataTables involved.
I'm trying to use a tooltip tool. The TableTools buttons (besides the print button), consist of a nested div. It looks something like this:
[code]
blah, blah, blah
[/code]
You already have the title attribute set. If I set my tooltip based on $('.TableTools_button'), then the default html tooltip gets in the way, so I want to set it on $('.TableTools_button div'). But for some reason, I can't select that. It selects 0 elements.
I have some sample code up at http://www.nova.org/~pak/test/rdmsAdmin.html. It displays some data in the console. The code is around line 184 of http://www.nova.org/~pak/test/js/rdmsAdmin.js.
I would greatly appreciate it if you could take a look
I'm having a very strange problem selecting some of the TableTools elements with jQuery. I only have this problem with DataTables involved.
I'm trying to use a tooltip tool. The TableTools buttons (besides the print button), consist of a nested div. It looks something like this:
[code]
blah, blah, blah
[/code]
You already have the title attribute set. If I set my tooltip based on $('.TableTools_button'), then the default html tooltip gets in the way, so I want to set it on $('.TableTools_button div'). But for some reason, I can't select that. It selects 0 elements.
I have some sample code up at http://www.nova.org/~pak/test/rdmsAdmin.html. It displays some data in the console. The code is around line 184 of http://www.nova.org/~pak/test/js/rdmsAdmin.js.
I would greatly appreciate it if you could take a look
This discussion has been closed.
Replies
Any thoughts on this? I just can't figure out why I can't seem to select the div with the title