View Single Post
Old May 26th, 2006, 1:24 AM   #1
dpsleep
Newbie
 
Join Date: May 2006
Posts: 16
Rep Power: 0 dpsleep is on a distinguished road
entering image data into js

im working with prototype.js and thickbox trying to insert the image data from http://software.hixie.ch/utilities/cgi/data/data into the js.i wanted to change
$("body").append("<div id='TB_load'><div id='TB_loadContent'><img src='pictures/circle_animation.gif' /></div></div>");
to
$("body").append('<div id='TB_load'><div id='TB_loadContent'><img src="image data" /></div></div>');

the only problem is the image data has a bunch of single quote marks in it.
anyone has an idea on what i should do here?
dpsleep is offline   Reply With Quote