I wrote this script that enables user to send a search to a library catalog and/or a group of article databases. It works roughly as hoped in IE and in Firefox, but in Safari and in Chrome it refuses to send two searches simultaneously (the third button on the prompt screen).
In Safari & Chrome it will always send the search that is on the lowest line, but never both at once as it's supposed to.
Here is a chunk of the script that I've been fooling with; do you see any way I could get it to trigger both the document.searchForm.submit() and the document.catsearch.submit() ?
"Both": function() {
$( this ).dialog( "close" );
document.catsearch.Search_Arg.value = searchterm;
document.catsearch.submit() ;
document.searchForm.submit();
if ((is_chrome == true) || (is_safari == true))
{ document.searchForm.submit();
document.catsearch.submit(); } }
} } });