On Jan 31, 2006, at 7:08 AM, Baiss Eric Magnusson wrote:

I have some JavaScript that needs to get to the WOPopupButton element and needs the <name> of the element to do so, but JS is failing when it does the 1st line of code:
        var catSelect=document.forms['transactionForm'].elements['getCat'];

        I rarely use JS, but the following has always worked for me:

        var catSelect=document.transactionForm.getCat;

any suggestions? Is the problem the multiple WOForm's on the page?

        Multiple forms should be fine, but I always avoid nested forms.

Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to