For Programmers: Free Programming Magazines  


Home > Archive > ASP > August 2005 > Iframe Inside a form









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Iframe Inside a form
Jay Villa

2005-08-22, 6:56 pm

I have a form which consists of Iframe

<Form method="pst" action="test.asp">
<iframe src="testingframe.asp" id="testfram" frameborder="1"
scroll="auto">
</iframe>
</Form>

testingframe.asp has
<table>
<td>
<tr>
<input type=checkbox id="checkedName" name="checkedName"/>
</tr>
</td>
</table>

How do i acess checkedName value in my main form .... ?

-Jay


Evertjan.

2005-08-22, 6:56 pm

Jay Villa wrote on 22 aug 2005 in microsoft.public.inetserver.asp.general:

> I have a form which consists of Iframe
>
> <Form method="pst" action="test.asp">
> <iframe src="testingframe.asp" id="testfram" frameborder="1"
> scroll="auto">
> </iframe>
> </Form>
>
> testingframe.asp has
> <table>
> <td>
> <tr>
> <input type=checkbox id="checkedName" name="checkedName"/>
> </tr>
> </td>
> </table>
>
> How do i acess checkedName value in my main form .... ?
>


You cannot use an <input> in another page as the corresponding <form>.

This is not a [serverside] ASP question,
so please follow up in a clientside NG!!



--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

[MSFT]

2005-08-23, 3:55 am

Hello Jar,

Here is some JScript code sample:

var frm = document.frames;
alert(frm("testfram").document.all("checkedName").checked);

Hope this help,

Luke

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com