• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOPopupButton element is not accessible from JavaScript for some reason
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOPopupButton element is not accessible from JavaScript for some reason


  • Subject: Re: WOPopupButton element is not accessible from JavaScript for some reason
  • From: Art Isbell <email@hidden>
  • Date: Tue, 31 Jan 2006 08:57:22 -1000

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >WOPopupButton element is not accessible from JavaScript for some reason (From: Baiss Eric Magnusson <email@hidden>)

  • Prev by Date: Re: EnterpriseObjects in a regular Java application
  • Next by Date: Re: EnterpriseObjects in a regular Java application
  • Previous by thread: WOPopupButton element is not accessible from JavaScript for some reason
  • Next by thread: ANN: NoxymoCore - The missing components of WebObjects.
  • Index(es):
    • Date
    • Thread