Hi,
I have installed a small search form in a module on the left-hand column (which points to the original search form when submitted) however although search fields are passed through I cannot get the page to automatically start a search as it loads.
I have tried giving the Search button an id of 'sobiAxSearch' and adding:
<?php if(isset($_GET['radiusStartPointId'])) echo '<script language="JavaScript" type="text/javascript">$("sobiAxSearch").click();</script>'; ?>
to the end of the template, but this just results in the page loading then reloading index2.php without anything else on the page (no other joomla sections/modules).
Page in question is
ukparaa1.miniserver.com/~wwwices/site/index.php?radiusToSearch=25&radiusStartPoint=(GU14)+Farnborough+Green&radiusStartPointId=8999&search=Search&searchphrase=any&option=com_sobi2&sobiCid=0&sobi2Task=search&reset=2&Itemid=53
Any ideas how I can accomplish this?
Many thanks,
James