View Single Post
  #11  
Old October 4th, 2012, 11:47 AM
johngibb123 johngibb123 is offline
 
Join Date: Aug 2012
Posts: 329
Default

ok iam using below code now:

Quote:
<form method="get">

<div id="slider-range"></div>

$<input type="text" size="4" id="minprice"> - $<input type="text" size="4" id="maxprice" >

<input type="hidden" name="price" id="pricego"><input type="submit" value="GO">

</form>

d) Does method ="get" is a MUST?


after when I selected some values and then clciked "GO" button, Now iam getting URL as :


I have some queries:


a) Now products are displaying as per the range selected (check above url), BUT I wanna display products from low to high as soon as anyone selects Price Filter, so how can I achieve this..?

b) How its automatically got appended
Quote:
?price=
(i didnt understood this..)

c) How can I display "$" symbol in url..? I mean like this:
Quote:
?price=$268-$300
e) How can I clear "Price Filter" .. ?

Last edited by johngibb123 : October 4th, 2012 at 11:49 AM.