Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

71 users online



making javascript refer to an iframe

making javascript refer to an iframe

Currently viewing this thread: 1 (0 members and 1 guests)


Chippo

Chippo

Status: Offline!

making javascript refer to an iframe

hi
how can you make javascript choose an iframe
like
document.form.textbox
would choose the textbox, my iframe is called send so i tried
document.send.document.textbox
but this doesn't work, the textbox in the iframe is hidden, so if someone could help me and tell me where im going wrong
cheers

deskjet

deskjet

Status: Offline!

if I remember correctly the syntax goes like (depends on where the script are added) -

window.frame_name
self.frame_name
or just the frame name .

Ynhockey

Ynhockey

Neverside Newbie
Status: Offline!

AFAIK a frame is equal to a window, so you can choose it with frame_name.document.form_name.textbox

___________________

Learn HTML

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0066 seconds.