Sending the value of the select option is not working but I am able to get the value and print it, so it's definitely the $.get.
$(document).ready(function () {
//hover method to drop down nav menu
.
.
.
.
$('select').change( function() {
var val = $('#sortOpt').val();
$.get(
"http://localhost/e-com/index.php/products/categories?cat=cameras&",
{
sort: val
},
function(data){}
)
});
});
function(data){}was, so removing it worked.