> >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,
---
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
gt; > action_xxx = elems[i];
> > case "cocoon-action-yyy":
> > action_yyy = elems[i];
> > }
> > }
> >
> > best,
> > -Rob
> >
> > > -Original Message-
> > > From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]]
>
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
ssage-
> From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 18, 2002 8:28 AM
> To: '[EMAIL PROTECTED]'
> Subject: Invoking Cocoon actions via JavaScript
>
>
> One of our developers has run into an issue that I can't see an e
One of our developers has run into an issue that I can't see an easy
solution to. However, I also can't believe that no one else has run into
the problem.
We have a form where we are using IE 5.5 (and above) DHTML to enable drop
and drag editing to reorder fields. As the result of a drop, we de