javascript - How would an HTML page be created on the fly for an <iframe>? -
searching possibilities viable option found generating html file following snippet:
$file="name.html"; $fh = fopen($file, 'w'); //or w+ $stringofhtml = "everything want on webpage"; fwrite = ($fh, $stringofhtml); while want, not work within bounds have. since i'm using parse.com cannot host php scripts, , not supported major browsers out of question.
is there equivalent this, work static host parse.com?
e: after looking through fsacer's response , links those, it's become clear me don't want dynamically interpret string html page.
what looking generate html file using javascript(if possible) set iframe's source.
Comments
Post a Comment