yvonnehorse
New Member
My requirement is when I type a text in a text box and click on search, the result should be displayed according to the type of content (suppose I have two results one is image and one is video. So images should be displayed in one box and video should be displayed in one box). And all is working fine. I am getting the entire list and I am able to display it in different views, but I want to sort it according to their names. I want to put a dropdown on each div for sorting according to their names, for table there is table sorter for sorting but here I am getting list of images(nothing but divs), so I have used ajax call on change of dropdown and getting response with another div to replace the existing div but it is taking some time to do it.Can you please share any idea regarding this to optimize it? or any sorter for doing this, at client side the way tablesorter is doing?