I'm a newbie in javascript, and I need help.
I have default function for UI slider, but I want to add one more
event. When user change range value from slider, how can I change URL
value? for example : index.php?rangemin=value&rangemax=value

code is:

$(function() {
                $("#price-range").slider({
                        range: true,
                        min: 0,
                        max: 500,
                        values: [0, 300],
                        slide: function(event, ui) {
                                $("#prange").val('$' + ui.values[0] + ' - $' + 
ui.values[1]);
                        }
                });
                $("#prange").val('$' + $("#price-range").slider("values", 0) + 
' -
$' + $("#price-range").slider("values", 1));
        });

Thanks in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to