What browser are you using?  All your examples work correctly for me in
Firefox.

It's also worth noting that your failing examples are all incorrect HTML.
There's never a valid case where a SPAN can be a sibling of an LI because LI
can only come directly below UL and OL, and it's the only thing that can
come below it.

-Fred

On Mon, Jun 9, 2008 at 2:32 AM, LinkChang <[EMAIL PROTECTED]> wrote:

>
> the following is the examples
>
>   <span id="test">test text</span>
>   <span id="btnAddAnswer" style="display:none;"></span>
>   $('btnAddAnswer').previous(0); -> test


-- 
Science answers questions; philosophy questions answers.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to