sharepoint 2010 - How can I sort my Jquery dropdownlist by date created? -


i have sharepoint dropdown need ordered date created. code have far tried simple jquery:

function dashboardreport(a, b) {     return new date(a.created).gettime() - new date(b.created).gettime(); } 

this html sharepoint dropdown want re-order:

    <sharepoint:formfield runat="server" id="ff1753" controlmode="new" fieldname="dashboardreport" __designer:bind="{ddwrt:databind('i','ff1753','value','valuechanged','id',ddwrt:escapedelims(string(@id)),'@dashboardreport')}" /> 


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -