I have a slider I have implemented on my site and wanted to land on a specific value when clicking on a link on another page:
Here is the script and the parameter I would like to change:
$("#screeningSlider").ionRangeSlider({
hide_min_max: true,
keyboard: true,
from: 20,
min: 1,
max: 2000,
step: 0,
grid_num: 4,
prettify_separator: ",",
postfix: " Units",
max_postfix: "+",
force_edges: true,
});
So when on another page, I'd like to click on a button that would allow me to land on this page, But the parameter FROM to be 10 instead of the default value above. This should only occur when selecting from that specific button.
Here is my site that has the slider: http://therrd.com/screening.html#tenant-Screening
If you don't want to use server side for that, you can do it this way
[EDITED]
1 - set the link
2 - set your function in yourpage.html