Pogledajte određenu poruku
Staro 25. 04. 2012.   #22
centaur
Ivan Pavković
Qualified
 
Avatar centaur
 
Datum učlanjenja: 15.01.2007
Lokacija: Beograd
Poruke: 144
Hvala: 42
16 "Hvala" u 16 poruka
centaur is on a distinguished road
Default

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!!!!!!?????

Poslednja izmena od centaur : 25. 04. 2012. u 14:29.
centaur je offline   Odgovorite uz citat