[Zope] surprising interaction between Javascript and Zope

2005-05-24 Thread Dennis Allison
We have a need to set a session variable concurrently with a user submitting a form on a mouse click. I accomplish this with a bit of JavaScript associated with the OnClick attribute of the form: location.replace('/setSesVar?var=namsval=xxx;frm.submit(); which does the job except that

Re: [Zope] surprising interaction between Javascript and Zope

2005-05-24 Thread Phillip Hutchings
On 25/05/05, Dennis Allison [EMAIL PROTECTED] wrote: We have a need to set a session variable concurrently with a user submitting a form on a mouse click. I accomplish this with a bit of JavaScript associated with the OnClick attribute of the form: