in una pagina html ho una questa funzione:
function insertImage(n) {
var imgurl = prompt('Enter the target URL of the image:');
var imgtitle = prompt('Please give a title for the link:');
var theImage = '[img]' + imgurl + '[/img]';
insertHTML(theImage, n); }
poi in una pagina che si apre sopra cerco mi richiamarla così:
window.opener.document.insertHTML(new_espressione, "descrizione");
ma non funziona.
come si fà?