:: Forum >>
Firefox/Mozilla and BUTTON problem
It seems that if you use an Active.HTML.BUTTON inside a form in firefox (and prob'ly other Mozilla browsers) that button acts like a submit button and triggers the form's action. Not a desireable result.
What I found is the <BUTTON ...> tag in firefox causes this to happen and that is the tag that the active widgets button generates.
Any work around for this ?
Frank Gualtieri
Wednesday, September 7, 2005
just turn off the submit trigger
Wednesday, September 7, 2005
Ummmm, OK... How do I turn off the submit trigger ?
Frank Gualtieri
Wednesday, September 7, 2005
Oh, I see... after creating the button
b = Active.HTML.BUTTON
b.setId("someId");
b.setAttribute("type","BUTTON") <--- this stops it from being a submit button in the firefox world !!!!
GOT IT
Frank Gualtieri
Wednesday, September 7, 2005
This topic is archived.
Back to support forum
Forum search