I have datatables on 2 pages, want to Provide 2 desciptions. 1 for each search box. How is This Done
I have datatables on 2 pages, want to Provide 2 desciptions. 1 for each search box. How is This Done
brando899
Posts: 4Questions: 2Answers: 0
I have 2 datatables and each search box has the same name. first search box says "Search:" on 1 page, and I want to Name the Other Search Box Something Else Like "Enter Zip Code:" Reason is because each datatable has different information. How can this be accomplished? Thanks
This discussion has been closed.
Answers
language.search
should do what you want;Kevin
I'm still confused sorry, how to use language.seach to provide each search box a specific name above each datatable? Do I need 2 separate JavaScript DataTable Files 1 for Each Search Box?
Are you initializing both Datatables with the same init code? If so then you can use HTML 5 Data Attributes to define different options for each Datatable. This example sets the search label for the first table to `Table 1 Search1:
http://live.datatables.net/powumeqe/1/edit
Is this what you are looking for?
Kevin
Yes, exactly what i was looking for thank you