The following function triggers a search function and loads their results into a container. For some unknown reason, unlike if one types the URL and query into the browser bar, it only seams to work if their are 5 or more characters in the search.????
function searchelectors(q){
t=$(q).val().replace(" ","+");
$('.searchelectors').load('<?php echo 'http://'.$site_url.$site_uri;?>?q=' + t + ' .searchelectors',function(){
$('.searchelectors .wheel').slideUp(200);
});
}