Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82127

Button text/style change

$
0
0
Is it possible to have the button text or style change for a text button after it is pressed? I looked in the dom and there is an ID assigned by the plug-in to the button, so I suppose I can grab that and rewrite it in the fnClick function, but that seems somewhat dodgy to me. I'd prefer to use a 'more official' method. The problem I'm trying to solve is that I have a list of trouble tickets and I want to be able to hide all the closed tickets with just one click, so I'm using oTable.fnFilter ("Open",0); to do that (in the fnClick)

Viewing all articles
Browse latest Browse all 82127

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>