Xtremer360 Posted July 18, 2011 Share Posted July 18, 2011 I'm having trouble figuring out how to work with the Datatables plugin for jQuery in the fact that I need for example if there are 3 numbered page links which would have the First, Previous, Next, Last links as well. If you were on page 1 then the First, Previous buttons should only have the pagination_button_disabled css applied to it but instead it ALSO has the paginate button and then the first or previous css style as well. I just want the first and last to have a css style of paginate_button_disabled if you are on page 1 and obviously revered if you were on page 3 then Last and Next should be disabled. http://jsfiddle.net/Rx8se/ If you notice it has the disabled styles crossed off when it shouldn't because with the table having no data then all 4 of those buttons should be disabled. Link to comment https://forums.phpfreaks.com/topic/242260-jquery-datatables-plugin/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.