When your code is displayed by Google Groups, it shows a simple
ampersand in both cases!  I think the difference may be moot.  In
general, when you're writing HTML, you always want to use  & a m p ;
(which I have spaced to prevent conversion) instead of simply &.

Can you provide a code sample in JSBin.com that is not functioning
correctly for you?

-E

On Oct 13, 9:56 pm, rmirabelle <[EMAIL PROTECTED]> wrote:
> the .html() function is rewriting all instances of & to &amp; without
> my permission:
>
> example:
>
> $('#div').html("http://www.coolsite.com?x=1&y=2";);
>
> the div then shows:
>
> http://www.coolsite.com?x=1&y=2
>
> how can I prevent this behavior?
>
> Thanks in advance

Reply via email to