Response.Write to A FRAME! URGENT 
Author Message
 Response.Write to A FRAME! URGENT

How to Response to a spesified frame.

example.

have two frames named left and right

Executing a ASP VBScript on server (left frame) that should change a
input.value on the right frame. Have not find any wayt to do this.

Javscript is something like this.
top.frames[1].<input>.value = 2
But this is not working in VBscript.

Please help.

R.s



Mon, 26 Feb 2001 03:00:00 GMT  
 Response.Write to A FRAME! URGENT
ASP will never be able to do that because it runs on the server before the
client-side code has been written to the browser.  If you need to modify a
form field in another frame, then Response.Write some client-side script to
do so.

Eg:

Response.Write("<script language='javascript'>" & vbLf)
Response.Write("top.frames[1].myform.myfield.value = 2;" & vbLf)
Response.Write("</script>" & vbLf)

Neil Henderson
--

Quote:

>How to Response to a spesified frame.

>example.

>have two frames named left and right

>Executing a ASP vbscript on server (left frame) that should change a
>input.value on the right frame. Have not find any wayt to do this.

>Javscript is something like this.
>top.frames[1].<input>.value = 2
>But this is not working in VBscript.



Tue, 27 Feb 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Response write to a frame ?

2. writing out double quotes in Response.Write

3. Writing out VBS code with response.write()

4. writing quotes with response.write

5. vbscript, asp, and response.redirect - urgent help plz

6. Urgent: Response.Expires not working

7. vbscript, asp, and response.redirect - urgent help plz

8. response.redirect to a specific frame

9. Response.redirect in frames

10. Response.Redirect to a new frame!

11. Response and Frames

12. Adding a target frame to response.redirect

 

 
Powered by phpBB® Forum Software