RE: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Per Kreipke
> >Another thought: > > > >var action_xxx = eval("document.formName.cocoon-action-xxx"); > > > > Won't something like > > document.formName['cocoon-action-xxx'] work? :-? That's right. document.anycollectionname["objectname"] should work. document.all, document.forms, ---

Re: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Vadim Gritsenko
gt;>-Original Message- >>From: Robert Koberg [mailto:[EMAIL PROTECTED]] >>Sent: Wednesday, September 18, 2002 8:58 AM >>To: [EMAIL PROTECTED] >>Subject: RE: Invoking Cocoon actions via JavaScript >> >> >>Hi, >> >>You could loop ove

RE: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Matthew Hailstone
erful. Downside is is does cost a little, but not bad compared to other web IDE's. www.vultus.com Matthew > -Original Message- > From: Robert Koberg [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 10:02 AM > To: [EMAIL PROTECTED] > Subject: RE: In

RE: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Robert Koberg
Another thought: var action_xxx = eval("document.formName.cocoon-action-xxx"); -Rob > -Original Message- > From: Robert Koberg [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 8:58 AM > To: [EMAIL PROTECTED] > Subject: RE: Invoking Cocoon action

RE: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Robert Koberg
Hi, You could loop over the form's element array, use a switch statement and use the name string as a case match to set up your action input element objs in some kind of body onload init function. var action_xxx; var action_yyy; var elems = frmObj.elements; for (var i=0; i -Original Message-