Si è possibile, potresti fare una cosa del genere:
nellla pagina principale (contenente l'iframe)
codice:
function invia(){
if(document.all){
self.iFrame.document.form.submit()
}else if(document.getElementById){
document.getElementById('iframe').contentDocument.form.submit();
}
}
<iframe id="iframe" name="iFrame" frameborder="0" height="350" width="768" scrolling="auto" src="dati.jsp">
<input type="button" onClick="javascript: invia()"
nell'iframe il tuo form con tutti i dati da inviare:
codice:
<form name="form" method="POST" action="execute.jsp" target="_top">.....</form>