[Proto-Scripty] Get first dd of a dl

2009-01-28 Thread Anjanesh
Im trying to get the first dd in dl but couldnt find a way to do so. $$('#someDIVId dl dd:first') n FireBug returns [dd, dd] Why does it return [dd, dd] - shouldnt it return just dd ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Proto-Scripty] trigger a 'change' event for a 'select' element

2009-01-29 Thread Anjanesh
I need to trigger a 'change' event for a 'select' element. alert($($(elem).parentNode)); // shows [Object HTMLSelectElement] $($(elem).parentNode).fire('change'); // How do I indicate which option value to change to ? But the fire() doesnt work. But no JS errors either.