| 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
|
|
|
|