I have another problem. Now that my sort works perfectly, I was requested to make sure it sorts in both DESC and ASC orders. Does anybody know how to do it????
Hi mansii, I have a problem to implement code from FAQ. The problem occurs when I try to output url parameters. Because I need to resubmit form to keep search results when I sort, I use javascript submit() function. When I add #changeOrder('entrydate')# to it, it gives me Javascript syntax error... my code looks like this...could you please help me to find the problem?
<a href="javascript:document.getElementById('sortdate').submit();&#changeOrder('entrydate')#">Date:</a>
is your form ID, right? If so,
1. Any reason why you use javascript in submitting that form? Because I didn't see any needs in passing parameters.
2. The FAQ will re-read your data everytime you click the column header. No need keep previous sort result.
In other word, just follow the FAQ in putting hyperlink (just to change sort order).
I'm sorry if I didn't get your question correctly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.