From: "Michael McGrady" <[EMAIL PROTECTED]> > Why in Heaven's name would you want to submit a form with a link?
This is not as odd as you seem to think. Case in point... I have a tabbed menu, and each tab has a [Struts] form on it. The text on each tab is a hyperlink, and I *have* to make the form submit when the user clicks to switch to another tab, or I lose whatever they've typed on the form. I do it with JavaScript: function standardTab() { document.forms[0].mode.value="<fmt:message key="tab.standard"/>"; document.forms[0].target="_self"; document.forms[0].submit(); } -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]