Jquery - Convert ascii chars back to HTML
Posted
by sdmiller
on Stack Overflow
See other posts from Stack Overflow
or by sdmiller
Published on 2010-05-12T15:09:15Z
Indexed on
2010/05/12
15:14 UTC
Read the original article
Hit count: 222
I am reading data from an html file to load into a div. The problem I am having is, the program that writes the html files is converting
to <br />
SO when I execute $('#items').load('/News/list.aspx');
it displays
as a string on my page instead of reading it as a page break.
I have tried to read the above file into a variable to do a string replace on the <br /> but it doesn't seem to work.
Any suggestions?
© Stack Overflow or respective owner