Re: RE: Question re html:select on the client

2005-07-07 Thread Avjit Singh Jhajj
You can use the following code to dynamically generate the action where the submit is to happen. function linkEditClick() { document.formName.action="/editAction?id=" + document.formName.comboName.value; document.formName.submit(); }   function linkAddClick() { document.formName.action="/ad

RE: Question re html:select on the client

2005-07-06 Thread Nitesh Naveen
You could use JavaScript to submit the form on clicking the link. Have a hidden field to track which link is clicked. For e.g.. Use this function in the link... function clickLink(linkId) { document.formName.hiddenElementName.value=linkId; document.formName.submit(); } PS: you ne