I'm trying to call stored html from DB and pass it as content to frame.code like this:<div id="guest"></div><script type="text/javascript">caja.initialize({cajaServer: 'https://caja.appspot.com/'});caja.load(document.getElementById('guest'), undefined, function(frame) {frame.code('www.trs.com/fdg.html','text/html','data_from_db' ).run();});</script>Result=Nothing
another hand I tried pass same HTML as a content not from DB and wondering getting result!
how can I pass HTML data from DB as mentioned and get back correct result from caja same as when I passed HTML as text content?