Search code examples
jqueryhtmlselectpageloadquicksand

Quicksand question in HTML page


I am using the Quicksand jquery scripts on an HTML page and using simple select controls:

<select name="sort" style="vertical-align:middle;" id="cboSort">
    <option value="1" selected="selected">Low to High</option>
    <option value="2">High to Low</option>
</select>

I want to be able to have the quicksand scripts run on page load but I have no idea how to do that, I am learning javascript so I am a bit confused. Basically I want the items to be already sorted from Low to High on page load. This is a simple one page website.

please help


Solution

  • this was fixed using autoselect and variable switch