Iframe
OK very simple question.
I have an Iframe with a field in a form. I need to get the value of the field. I have played around with
Document.all.etc.whatever.imlost.help
and cannot locate the value. I am sure I will feel like a moron tomorrow.
Thanks,
- Mike
Blessed is the man who fears the LORD, who delights greatly in his commandments. Psalms 112:1
ROB posted this at 03:30 — 13th November 2001.
They have: 447 posts
Joined: Oct 1999
offhand id guess:
document.all("iFrameName").formName.fieldName.value
or
iFrameName.formName.fieldName.value
like i said it's an educated guess so it very well could be wrong
mycoolross posted this at 03:32 — 13th November 2001.
They have: 82 posts
Joined: Oct 2001
Sorry Wrong Thread.
By the way I made it 10 minutes before I felt like a moron.
As soon as I hit submit I thought:
IframeName.FormName.Field.Value
Thanks,
- Mike
Blessed is the man who fears the LORD, who delights greatly in his commandments. Psalms 112:1
Peter J. Boettcher posted this at 13:40 — 13th November 2001.
They have: 812 posts
Joined: Feb 2000
The DOM can be wonderful thing (well, most of the time...)
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.