<div id="deltr-filter">
<div class=" deltr-filter-loader">Loading...</div>
<h3 class="with-icon"<span data-icon=";" role="img" title="image: filter search results" class="icon x32 left-align"</span>Search Results</h3>
<select id=" deltr-filter-year">
option>SelectYear</option>
option>------</option>
<option value="1964">1964</option>
<option value="1984">1984</option>
<option value="1993">1994</option>
<option value="2011">2011</option>
<option value="All">View All</option>
</select>
<select id="deltr-filter-division">
option>Select Division</option>
option>------</option>
<option value="1">Div. 1</option>
<option value="2">Div. 2</option>
<option value="3">Div. 3</option>
<option value="4">Div. 4</option>
<option value="5">Div. 5</option>
<option value="6">Div. 6</option>
<option value="7">Div. 7</option>
<option value="8">Div. 8</option>
<option value="9">Div. 9</option>
<option value="10">Div. 10</option>
<option value="11">Div. 11</option>
<option value="12">Div. 12</option>
<option value="13">Div. 13</option>
<option value="14">Div. 14</option>
</select>
<select id="deltr-filter-product">
option>Select Product</option>
option>------</option>
<option value="Field Requests">Field Requests</option>
<option value="Corrections">Corrections</option>
<option value="HTOs">HTOs</option>
<option value="TIPs">TIPs</option>
<option value="Purchase Order Contracts">Purchase Order Contracts</option>
<option value="Municipal Agreements">Municipal Agreements</option>
<option value="Petitions">Petitions</option>
<option value="Other">Other</option>
<option value="All">View All</option>
</select>
<a href="#" class="button important search-deltr">Get Report</a>
</div>
script
(function($)
{
if(typeof $ != 'function')
{
return;
}
}
// Read a page's GET URL variables and return them as an associative array.
functiongetUrlVars()
{
varvars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
for(vari = 0; ihashes.length; i++)
{
hash = hashes[i].split('=');
vars.push(hash[0]);
vars[hash[0]] = hash[1];
}
returnvars;
}
// get page name
VarpageUrl= window.location.pathname,
pageName= pageUrl.substring(pageUrl.lastIndexOf('/') + 1);
// this is where we create the url string for the filter & the wisk the visitor off to the search results.
$('#deltr-filter .search-deltr').click(function()
{
varyear= $('#deltr-filter-year').val(),
division= $('#deltr-filter-division').val(),
url= 'TestQueryString2Page.aspx';
// make sure they made a choice - Year
if (year == 'SelectYear' || year == '------')
{
alert('Please select a Year first.');
}
else
{
checkStatus(year);
};
$('.deltr-filter-loader').fadeOut(1800);
}( (typeofjQuery == 'undefined' || jQuery) );
</script>