http://kracomp.com/~jay/images/sc/rjs.jpg

http://kracomp.com/~jay/images/sc/rjs2.jpg

I'm put this code into a super simple html page and it works. For some
reason it's not working on the html for the actual site. I'm not sure
why yet, but I should have it working by the end of the day now that I
know it works in a different context.

p.s. - Do you expect teh code to give an RJS error ;)

On Mar 30, 7:01 pm, "RobG" <[EMAIL PROTECTED]> wrote:
> On Mar 31, 9:25 am, "Jay  donnell" <[EMAIL PROTECTED]> wrote:
>
> > why does this fail on IE?
>
> What does "fail" mean to you?
>
> I undertand it to mean that whatever the code does is different to
> what you expect.  Without indicating what you expect, anyone else may
> well say "the code does exactly what *I* expect, therefore it
> succeeds".
>
> > If I change the a tag to a b tag it works
> > fine.
>
> > Element.replace("foo", "<li id=\"foo\"><a>bar</a></li>"); <-- fails
>
> Did you epxect a visual presentation indicating a link?  An A element
> without an href value is not a link and (probably) by default its
> content won't be given a different visual representation to
> surrounding content.
>
> An A elemet with neither href or name attribute is roughly equivalent
> a span element.
>
> --
> Rob


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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