the javascript:void() worked. Thank you.
Rich
On Nov 6, 2:06 pm, "Dan (Google Employee)" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I suspect your form submission is redirecting the gadget to a blank
> page, or potentially the same page, but without all the necessary URL
> parameters to display the gadget. I would suggest trying to add
> action="javascript:void(0);", or replacing the submit button with a
> link that calls GetEQ when clicked.
>
> Best,
> Dan
>
> On Nov 5, 10:08 am, Richk <[EMAIL PROTECTED]> wrote:
>
> > I've seen other posts regarding this error, but none quite with what
> > I'm doing.
>
> > Within my gadget I have a routine:
>
> > function GetEQ(zlat,zlon){
> > myframe.style.visibility = "visible";
> > document.getElementById("myoutput").innerHTML="test";
>
> > }
>
> > If I call this function in my main routine, it works fine - no
> > problems:
>
> > GetEQ(45,-110);
>
> > However, if I call it in a form such as
>
> > <form name="inputz" onsubmit="GetEQ(45,-110)"><input value="Submit"
> > type="submit"/></form>
>
> > the gadget blanks out with 'Information is temporarily unavailable'
>
> > Any ideas? can you not use <form>'s in a gadget?
>
> > Thanks,
>
> > Rich
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---