Hi David, this is the code. I think the DOM is generated by Ajax. Maybe this couse the Prob!? Thanks for Help.
<ul id="options-10-list" class="options-list"> <li> <input id="options_10_2" class="radio" type="radio" value="15"/> <span class="label"> <label for="options_10_2">Bodoni</label> </span> </li> </ul> On 9 Okt., 12:43, david <[email protected]> wrote: > Hi clickforward, > could you please send the HTML code with the js code, because I can't > catch what is "option-10-list", form element or list element ?? > > -- > david > > On 8 oct, 19:28, "[email protected]" <[email protected]> > wrote: > > > > > I guess the thread I started may help you: > > >http://groups.google.com/group/prototype-scriptaculous/browse_thread/... > > > On Oct 8, 1:01 pm, "[email protected]" > > > <[email protected]> wrote: > > > Hello anyone, > > > > i try to select a label for="options_10_2" like this: > > > > $('options-10-list').select('[for="options_10_2!"]').each(function(e) > > > { > > > e.addClassName('highlight'); > > > > }); > > > > or this: > > > > $('options-10-list').down(3).each(function(e) { > > > e.addClassName('highlight'); > > > > }); > > > > But its doing nothing. What wrong on this snippets? > > > > Thanks for Help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
