i need help with javascript

Status
Not open for further replies.

biovirus

New Member
Messages
195
Reaction score
0
Points
0
the question is: i have a html page and inside of this, two iframes like that:

Code:
<iframe src="http://www.google.com"
      width="400" height="500" scrolling="auto" frameborder="0" name="bioiframe1">
      <p>Texto alternativo para browsers que no aceptan iframes.</p>
    </iframe>
Code:
<iframe src="http://www.yahoo.com"
      width="400" height="500" scrolling="Auto" frameborder="0" name="bioiframe2">
    <p>Texto alternativo para browsers que no aceptan iframes.</p>
    </iframe>
now, i want a link to refresh the first one of this iframes, what is the code???

i tried a lot of things but no work like want, because too many codes open a page and i wanna refresh the page inside of the iframe.

thnks a lot..........................xD
 

biovirus

New Member
Messages
195
Reaction score
0
Points
0
framename.location.reload();

framename=the name of the iframe???
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
Last edited:

biovirus

New Member
Messages
195
Reaction score
0
Points
0
o_O

ok, ok, i'll try that
Edit:
no its for mi work, because this code works with time and i don't want to refresh in xxx seconds.

another help, plz...............xD
 
Last edited:

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
O..Oh!.. You can remove the setTimeOut Statement and call the contentrefresher function by yourself when needed.
 
Status
Not open for further replies.
Top