[Seaside] anchors behaving like buttons?

Avi Bryant avi at beta4.com
Fri Feb 7 13:45:54 CET 2003


On Fri, 7 Feb 2003, Derek Brans wrote:

> In Seaside, is there a way to have an anchor tag that will submit a form
> and perform an action (behaving just like a button)?

You'd have to do two things, I think:
 - make the action the default action of the form
(HtmlRenderer>>defaultAction:)
 - create a normal link (#anchorWithUrl:text:) that used JS to submit the
form

As for what the javascript should be, I have no idea.



More information about the Seaside mailing list