Phorum.ro
Your Avatar Welcome to Phorum.ro!
If you haven't registered yet, click here!
Attention Visitor:
You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Du-te înapoi   Phorum.ro > Web Design & Web Development > Programare > Java > Java Q&A

Java Q&A Intrebari si raspunsuri legate de lucrul cu Java.

Răspunde
 
Thread Tools Moduri de afișare
Vechi 20.07.2006   #1
BETng4U
64-Bit member
 
BETng4U's Avatar
 
Data înregistrării: 21.02.2006
Locație: 127.0.0.1 - barlad
Vârsta: 23
Mesaje: 334
Rep Power: 6
BETng4U is on a distinguished road
Trimite un mesaj prin Yahoo pentru BETng4U
Implicit cum apelez un id dintr'un alt frame?

o pagina e 'impartita in 2 frame'uri .. problema mea... cum apelez prin java script din pagina 1 un obiect din pagina doi ...

exemplu concret
1.php
Cod:
<input type=button onclick='alert( /* valuarea lui 't' din pagina 2.php */ ) >
2.php
Cod:
...
<input type=text value='test' id='t'>
....
frameu'riel au fiecare id'uri si nume .. f1 respectiv f2

teoretic ar trebui sa mearga window.getelementbyid('f2').getelementbyid('t').va lue ... dar nu merge imi zice ca window.getelementbyid('f2') nu este o functie def

daca aveti sugesti ...
BETng4U is offline   Reply With Quote
Sponsored Links
Răspunde


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Moduri de afișare

Reguli de postare
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Pornit
emoticoanele sunt Pornit
Codul [IMG] este Pornit
Codul HTML este Oprit



Ora este GMT +3. Ora este acum 15:11:26.


Rulează cu: vBulletin Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Forum SEO by Zoints

XXXXXXXXXXXXXXXXXXX
Inactive Reminders By Icora Web Design