help with tabs
help with tabs
![pg_lhelton](https://secure.gravatar.com/avatar/c5882e379be3f958bcd57bd3c293c300/?default=https%3A%2F%2Fvanillicon.com%2Fc5882e379be3f958bcd57bd3c293c300_200.png&rating=g&size=120)
I am trying to create a table with tabs and i am following the example, but I am getting an error that i dont have a tabs method at this part of the code:
[code]
$("#tabs").tabs({
"show" : function(event, ui) {
var table = $.fn.dataTable.fnTables(true);
if (table.length > 0) {
$(table).dataTable().fnAdjustColumnSizing();
}
}
});
[/code]
what am i missing?
thanks
[code]
$("#tabs").tabs({
"show" : function(event, ui) {
var table = $.fn.dataTable.fnTables(true);
if (table.length > 0) {
$(table).dataTable().fnAdjustColumnSizing();
}
}
});
[/code]
what am i missing?
thanks
This discussion has been closed.
Replies
Uncaught TypeError: Object [object Object] has no method 'tabs' results.jsp:56
(anonymous function) results.jsp:56
f.Callbacks.n jquery-1.7.1.min.js:590
f.Callbacks.o.fireWith jquery-1.7.1.min.js:635
e.extend.ready jquery-1.7.1.min.js:388
c.addEventListener.B
where would I find the lines i need to add to reference those scripts?
I added this line but it still does not work what else am i missing?
[code]
[/code]
http://jqueryui.com/
http://jqueryui.com/demos/tabs/
Once you have tabs working, then we could assist you in adding Datatables to your page.
and those websites didnt give me the scripting references i needed. I found the same kind of things I have found in other answers on this forum that didnt help my problem.