Ho provato entrambi...usando
Codice:
document.createElement(el)
non funziona...e usando
Codice:
htmlDoc.createElement(el)
mi da problemi sugli appendChild
Codice:
myselect.appendChild(opzioni);
myForm.appendChild(myselect);
myForm.appendChild(search);
myForm.appendChild(b);
htmlDoc.appendChild(myForm);
htmlDoc.getElementById("autoSearchingForm").submit();
sempre l'errore
"Node cannot be inserted at the specific point in the hierarchy" code 3...etcetc...(NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)