passing a form field value from a page to a frame's page 
Author Message
 passing a form field value from a page to a frame's page

Hello,

I can pass a form's field value from page1.asp to page2.asp with calling the
ASP "String(Request('aField'))" function. -> Ok.
But my problem is:
how to pass a form's field value from page1.asp to page3.asp accepted that
page3.asp is a frame of page2.asp?

Thank's for your help.
Didier



Thu, 29 Jul 2004 20:19:19 GMT  
 passing a form field value from a page to a frame's page

Page3 code:

function setValue(MyValue)
{
   document.MyForm.MyText.value = MyValue

Quote:
}

Page2 code:

var frm = document.frames;
for (i=0; i<frm.length; i++)
{
  if  (frm.setValue) setValue("new text")

Quote:
}

:-)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Fri, 30 Jul 2004 03:13:04 GMT  
 passing a form field value from a page to a frame's page
in the frameset, use something like
<frame name="mainFrame" src="GeneraliUdPage5.asp?id=<%=Request('id')%>">
Didier


Quote:
> Hello,

> I can pass a form's field value from page1.asp to page2.asp with calling
the
> ASP "String(Request('aField'))" function. -> Ok.
> But my problem is:
> how to pass a form's field value from page1.asp to page3.asp accepted that
> page3.asp is a frame of page2.asp?

> Thank's for your help.
> Didier



Fri, 30 Jul 2004 04:00:05 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Pass values from FORM fields to another page without a SUBMIT action

2. Passing values between pages using a form

3. Passing vairable values from page to page with VBScript

4. Chosing Frame content in a 2 framed page from a 1 framed page

5. pass a form from web page to web page

6. passing fields from form to form, and handling a date field

7. pass a form from web page to web page

8. catch data in frame and pass to another frame page

9. catch data in frame and pass to another frame page

10. passing form fields: lost when going to frame

11. Hidden field in form not retaining it's value after submit

12. FRAMES - NonFrame page to Frame page

 

 
Powered by phpBB® Forum Software