It should work if you put: <button type="button" id="chooseColor" onclick="buttonClicked ()">Select</button>
If you don't include type="button" then the default is assumed, which is type="submit" - so the form is actually being submitted and that's throwing the error as the action is empty. On Jan 4, 7:33 pm, boaz <[email protected]> wrote: > Hello, > > I have a gadget with a simple form whose ACTION attribute is set to an > empty string: > > <FORM NAME=ColorSelection ACTION=""><P> > > <INPUT TYPE=RADIO NAME="Color" VALUE="Red">red<BR> > <INPUT TYPE=RADIO NAME="Color" VALUE="Blue">blue<BR> > <INPUT TYPE=RADIO NAME="Color" VALUE="Green">green<P> > > <button id="chooseColor" onclick="buttonClicked()">Select</button> > > </FORM> > > This works fine on Chrome, but on FireFox after clicking on the > button, buttonClciked() is called correctly but then the gadget is > replaced by the error message: > No container specified. > Error 404 > > I managed to work-around this by putting the button out of the form, > but this is not a clean solution. > > Has anyone encountered a similar issue? > > Thank you, > Boaz -- You received this message because you are subscribed to the Google Groups "Google Wave API" 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-wave-api?hl=en.
