I had to modify @mrbwt's code a little to get this to work and as a result have probably dumbed it down.
I did it as an html override to the mod_cck_search module on the default.php. You could also create an alternative layout for this module.
<script type="text/javascript">
function ajaxCall() {
var area = jQuery('#area_codes').val(); // Value from select box, edit as needed
jQuery.ajax({
type: 'GET',
url: '/index.php?option=com_cck&view=list&search=loss_adjusters&task=search&format=raw', //URL to your search type, edit
data: {
pac:area //Variable name and value - sent through in querystring
},
dataType: 'html',
success: function(result) {
jQuery('.search-list-out').html(''); //clear current items
jQuery('.search-list-out').html( result ); //Return your results to the page.
},
error: function () {
alert("Sorry, there was a problem.");
}
});
}
jQuery('#area_codes').on('change', function() { ajaxCall() }); //listen out for any changes to dropdown
</script>
It was returning results to page that didn't work for me, so I stripped a little code out there.
I also changed dataType from text to html so that the tags in the result would be evaluated before loading into the DOM.
You will need to add a div to your module layout fro the content to be added into, mine is called .search-list-out
Big thanks to @mrbwt for the leg up.