When i Select SortBy Date using JavaScript Onchange Function in picklist option,Get the Contact Records Based on Date wise like (Today,YesterDay,Lastweek) Using JavaScript in visualforce Page. Plz Help me

1 Answer 1


If what you are asking is part of a page that displays a table of data, getting the server-side and client-side logic correct and working together can be quite a lot of work.

I have found it simpler to instead do the sorting entirely at the client-side by making use of a JavaScript library such as DataTables. However, some care is needed to get the sorting logic right.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .