javascript - Problem in getting right result for select box -
javascript - Problem in getting right result for select box -
i have implemented solr search results. want display results based on sort criteria. in user interface created select box user give select criteria. problem each time user selects, results appended in webpage (for illustration if got 5 results in first select got 9 results 2nd select in sec select expect 4) want display 4 results. can problem?
for code please @ problem in getting right result select box
your jquery code other thread indicates repeatedly adding tables bottom of #result, on line:
$("#result").append(html);
you need replace results each time behavior want:
$("#result").html(html);
javascript jquery json solr
Comments
Post a Comment