DataTable and Jquery UI Tabs
DataTable and Jquery UI Tabs
Gilgalidd
Posts: 2Questions: 0Answers: 0
Hi,
I'm new with JQuery UI and DataTable and I've a big problem.
I try to load a table (with DataTable) in a tab (jQuery UI). like that : (http://www.datatables.net/release-datatables/examples/api/multi_filter_select.html)
--> index.php
[code]
tabs1
tabs2
tabs3
[/code]
--> tabs1.php
[code]
(function($) {
....
[/code]
--> tabs2.php
[code]
(function($) {
....
[/code]
--> tabs3.php
[code]
(function($) {
....
[/code]
When I run index.php, the tabs1 look fine and all my JS functions are OK. But when I go on the tabs2 or 3, my code don't work properly, the DataTable don't look fine, and other JQuery UI elements are broken.
I think it's due to my js load in "tabs*.php", but i don't know how do that.
Thanks.
I'm new with JQuery UI and DataTable and I've a big problem.
I try to load a table (with DataTable) in a tab (jQuery UI). like that : (http://www.datatables.net/release-datatables/examples/api/multi_filter_select.html)
--> index.php
[code]
tabs1
tabs2
tabs3
[/code]
--> tabs1.php
[code]
(function($) {
....
[/code]
--> tabs2.php
[code]
(function($) {
....
[/code]
--> tabs3.php
[code]
(function($) {
....
[/code]
When I run index.php, the tabs1 look fine and all my JS functions are OK. But when I go on the tabs2 or 3, my code don't work properly, the DataTable don't look fine, and other JQuery UI elements are broken.
I think it's due to my js load in "tabs*.php", but i don't know how do that.
Thanks.
This discussion has been closed.
Replies
Is it possible to split this page for have the content of table into a other file. All my content need to have the DataTables form (with sql request for populate the table).