From: "Andrew Close" <[EMAIL PROTECTED]> > function sl_addMemberProdNbrs(frm) { > frm.action += "?prodType=Member"; > frm.submit(); > return; > }
Instead of messing with the action of the form, actually add the attribute to the form. You might need prodType to be an existing, hidden form element, then just set it. My onClick functions look like this: function sortByCostCenter() { document.forms[0].mode.value="sortByCC"; document.forms[0].target="_self"; document.forms[0].submit(); } The 'mode' is a hidden form element, so mode.value is what you set in order for it to be sent to the server. I'm no JavaScript expert, but it works... -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]