I want make an 'iGoogle gadgets' that changes the search box on the igoogle page.
Here is my code so far:
<script type="text/javascript">
function bing(){
document.getElementById('sfrm').action="http://www.bing.com/search";
}
</script>
<input type="button" onclick="bing()" value="Search"><br>with Bing.
I have tested it briefly with the pages search box code on a separate page, and it worked.
Does it not work because it is in a frame; if so is there a solution?