jqueryUI Slider: Setting minimum and maximum values in range from DB

Posted by alexBrand on Stack Overflow See other posts from Stack Overflow or by alexBrand
Published on 2011-03-05T23:03:18Z Indexed on 2011/03/05 23:24 UTC
Read the original article Hit count: 216

Filed under:
|
|
|

I have a jQueryUI slider on my website that deals with price range.

I have a products table in mysql that has various entries.

I am using the slider to filter the results, but I need to set the minimum and maximum prices from the records in my database.

Should I just generate (with php) hidden fields in my html that contain the minimum and maximum and then use jQuery to obtain them? Or is there a better way of achieving this, maybe using AJAX?

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about jQuery