I da, to je to
Evo kompletnog resenja, mozda nekom zatreba.
Kôd:
window.onload = function() {
var url = 'form.html';
var iframe = document.createElement('iframe');
iframe.src = url;
iframe.setAttribute('id', 'ifrm');
iframe.setAttribute('name', 'iframeee');
//iframe.style.display = 'none';
document.body.appendChild(iframe);
frames["iframeee"].onload = function(){
var param1 = window.top.iframeee.document.getElementById("field1");
param1.value = "Well, I'm new one again";
alert(window.top.iframeee.document.getElementById("field1").value);
window.top.iframeee.document.someCoolForm.submit();
};
};
@Br@ankoR i ostali puno hvala!!!
PS ^Pretece me ti
Da, to je to!!!!!!?????