John,
Well figures .. it is my code. .html() certainly does the trick. I
wasn't aware that replaceWith removes stuff from the DOM indefinitely.
A, thanks for saving me from hours of troubleshooting. I really
really appreciate it.
- sf
On 9/24/07, John Resig <[EMAIL PROTECTED]> wrote:
>
> A
Are you meaning to do .html(..) instead of replaceWith? replaceWith
completely removes the element (which means that when it's called the
second time, nothing happens, since the element no longer exists).
Whereas .html() simply replaces the contents of the element.
--John
On 9/24/07, Steve Fin
This is actually happening in IE7 also. Is it possible that something
is hosed with my code? I'm more confident it's that than a broken
replaceWith() but I'd really like to know why it only works once, and
then I need a page refresh for that "ajax" effect.
- sf
On 9/24/07, Steve Finkelstein <[EM
3 matches
Mail list logo