RamblingRoss
The blog of Ross Fruen, a .NET consultant GoogleSearchBox, JavaScript and write once, test everywhere
Thanks to Detlef for picking up an error in the JavaScript generated by the GoogleSearchBox plugin.
The plugin uses JavaScript to modify the data posted by the search form into a format acceptable to Google. To try and be a little more DOM compliant the code has been updated to access the "searchForm" using document.getElementsByName
...
function googleize()
{
if (document.getElementsByName("searchForm")[0].action == \'';
$content .= $destn;
$content .= '\')
{
var arr = new Array();
...