|
-
Mar 13th, 2003, 05:03 AM
#1
Thread Starter
Fanatic Member
Javascript problem
I am submitting a form from one frame to another,
<form method="post" action="request.asp" target="main" name="form1">
<td width="80%" height="40" valign="middle" bgcolor="#CCCCCC" class="tdbutton">
<div align="center">
<input type="hidden" name="F_NAME" value="<%response.write V_NAME %>">
<input type="hidden" name="F_ACCESS" value="<%response.write V_ACCESS %>">
<input type="hidden" name="F_PROFILE" value="<%response.write V_PROFILE %>">
<a href="javascript:frames[0].document.form1.submit();">Request report</a> </div></td>
</form>
but get message form 1 is nul or not an object. does anyonme knwo why it cant fnd the form, i think it is looking for the form in my other frame as if i change te form name in the url to a form one my main frame it will submit ok.
please help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|