Durham David Contr 805 CSPTS/SCE wrote:

function swapAction( formName, action) {
formAction = document.getElementById( formName ).action;
newAction = '<html:rewrite page="/'+action+'.do"/>';



I don't think this will work, and I find it ironic that you literally mixed client-side and server-side scripting.

Still, I see what you're going for, and I myself have written similar
code.  It can be tricky and it is always ugly.


- Dave


Why don't you think this will work, Dave? Why would the serverside script care that there was client side script? This looks okay to me.


Michael McGrady


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to