The jquery way is
$("#id:hidden:first")
$("#id:visible:last")
What's the Protoytype ways?
I try using $$(), and it doesn't work.
could somebody tell me? thanks a lot.
The jquery way is
$("#id:hidden:first")
$("#id:visible:last")
What's the Protoytype ways?
I try using $$(), and it doesn't work.
could somebody tell me? thanks a lot.
This should work:
$$('#id[style="display:none"]:first')
this should be faster:
$$('#id[style="display:none"]').first()
See
Hope this is what you are looking for
$$('#id[display=none]:first');