mikelawson
09-06-2005, 11:09 AM
I'm getting no place with this, anyone have any suggestions? I am trying to have a Dashboard Widget do a search from it to my osxrecording.com site, where one would enter the search term into the box on the Widget, which would then combine the script to execute the search with the term searched and take the searcher directly to the results page on my site.
function submitField(osxrsearch)
{
if ( osxrsearch.value.length > 0)
{
osxrsearch = osxrsearch.value
osxrsearch = osxrsearch.replace(/[\s]/gi, '+');
}
searchurl = "http://osxrecording.com/index.php?name=Search&action=Search&q=querystring" + osxrsearch;
widget.openURL(searchurl);
That code above doesn't get me there. Thanks.
function submitField(osxrsearch)
{
if ( osxrsearch.value.length > 0)
{
osxrsearch = osxrsearch.value
osxrsearch = osxrsearch.replace(/[\s]/gi, '+');
}
searchurl = "http://osxrecording.com/index.php?name=Search&action=Search&q=querystring" + osxrsearch;
widget.openURL(searchurl);
That code above doesn't get me there. Thanks.