jquery append choking on quotes in ei
Posted
by bert
on Stack Overflow
See other posts from Stack Overflow
or by bert
Published on 2010-04-24T03:24:27Z
Indexed on
2010/04/24
3:33 UTC
Read the original article
Hit count: 325
This jQuery statement works in recent versions of Firefox and Chrome but throws an error in IE 8.
left_bar_string = "<tr><td><a href='#' onclick= "return newPopUpWindow('somelink','window', '1000','800','100','0','yes')">Directions</a></td></tr>";
$("#side_bar").append(left_bar_string);
I think problem is with double quotes. Any comments/solutions?
© Stack Overflow or respective owner