I have a simple jump menu that I found. It worked great untill I wanted it to go to a page with a "?" in the url. It strips out everything after the "?". So when I try to go to mywordpresspage/?id=1, the jump menu takes me to mywordpresspage/.
I don't know alot about jquery ... I mostly work with php.
Here is the code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('.site_quick_jump').change(function(){
if ($(this).val() != '') {
$('#site_quick_jump_form').attr('action', $(this).val()); //
$('#site_quick_jump_form').submit(); // Go!
}
});
}); // doc ready
</script>
<form id="site_quick_jump_form" method="get" action="">
Browse Survey:
<select class="site_quick_jump">
<option></option>
<option value="mywordpresspage/?id=1">My WordPress Page 1</option>
<option value="mywordpresspage/?id=2">My WordPress Page 2</option>
<option value="mywordpresspage/?id=3">My WordPress Page 3</option>
</select>
</form>