• 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
getting the selected li element form a ajaxselectionlist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting the selected li element form a ajaxselectionlist


  • Subject: getting the selected li element form a ajaxselectionlist
  • From: Gustavo Pizano <email@hidden>
  • Date: Fri, 22 May 2009 21:16:49 +0200

Hello, I know this is out of the list topic, is more a JS-CSS question, so if somebody can help me, I will appreciate it, or at least some guidance to achieve what I need.

Im having some trouble with this. I have 2 selection list one next to each other, when I select something in one list, the contents of the other one changes. so far so good. now im in the phase to make a better and nicer UI, so when I select something in the first list, I need to put somehow a image above the <li> element that I selected, so that image will be above the selected <li> element and the right border will be touching the other list, so it will  seem like the 1st list is unfolding the contents of the second list.

I was thinking using DOM to achieve that, so I can get the selected <li> by its ID the get the position in x,y, and put the image on that position, but here comes the questions the id are being generated dynamically by the AjaxSelectionLsit, so I dunno which <li> element the user has selected..
The same comes if I use the onchange binding, binded to a custom function to position the image in the right place, I dunno where and which exactly <li> was selected.. or do I?

sorry for the inconvenience ..I will appreciate any, any help.

Thanks

Gustavo

 _______________________________________________
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

  • Follow-Ups:
    • Re: getting the selected li element form a ajaxselectionlist
      • From: "Ricardo J. Parada" <email@hidden>
    • Re: getting the selected li element form a ajaxselectionlist
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: self-contained deployment
  • Next by Date: Re: Security control
  • Previous by thread: Re: I am at wits end with this ajax ....
  • Next by thread: Re: getting the selected li element form a ajaxselectionlist
  • Index(es):
    • Date
    • Thread