Skip to content

Instantly share code, notes, and snippets.

function generate_preview(pblock, rpwUrl) {
msg = "Inserts the following url<br><i>" + rpwUrl + "</i><br>";
msg += "Which points to the following </br>";
pblock.innerHTML = msg;
Utils.parseRemoteDocument(rpwUrl, "", function(data){
msg = "Inserts the following url<br><i>" + rpwUrl + "</i><br>";
msg += "Which points to the following </br>";