I have an HTML page that makes a query to SQL database when clicking on button "OTSI". My problem is that after populating the table with the data, I cant sort it anymore. I am using a standard tablesorter library (TableSorter). Here is the page making the query: page with dynamic content and here is the same page static content: page with static content. The id of the table is countrytable.
What might solve my problem?
Kert
11
Newbie Poster
Recommended Answers
Jump to Posthai Kert
what i guessed is
in your dynamic version page, you have to call the bellow method
$("#candidatetable").tablesorter();
the time after loading the results in table, not on the page load (what i mean is while loading the page there is no content in the …
Jump to Postin addtion to the above post:
try to do as follows
place this call $("#candidatetable").tablesorter(); inside the bellow function in your script code
$("#showTable").click(function(event){ // your code here $("#candidatetable").tablesorter(); }
check it once and let me know the status
any comments are appreciated
Jump to Postplease mark this thread as solved if you got your answer
Jump to Posthai kert,
in the given url (a new problem),
i have seen nothing in test.js except alert('your book is overdue') but you are asking something related to that test.js related code.
could please explain me clearly about the problem or Show me an image of that problem?
so that we …
All 14 Replies
radhakrishna.p
29
Posting Whiz in Training
radhakrishna.p
29
Posting Whiz in Training
Kert
11
Newbie Poster
radhakrishna.p
29
Posting Whiz in Training
Kert
11
Newbie Poster
radhakrishna.p
29
Posting Whiz in Training
Kert
11
Newbie Poster
Kert
11
Newbie Poster
radhakrishna.p
29
Posting Whiz in Training
Kert
11
Newbie Poster
Troy III
272
Posting Pro
radhakrishna.p
29
Posting Whiz in Training
Kert
11
Newbie Poster
radhakrishna.p
29
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.