Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change frame src dynamically 1

Status
Not open for further replies.

jockey

Programmer
Nov 18, 2003
34
GB

Hi

I have a page with 2 frames. How do I change the page loaded into the second frame from a Asp button on the first frame.

Jamie
 
you can use JavaScript on the client side. wither post here back for the code or post it in the JavaScript forum.

--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
 
Yea the code would be good thanx. Is there a way of doing this using VB??
 
VBScript you mean... there surely is, but you will need to ask this in the VBScript forum because I've never used it.

in JavaScript you can use
Code:
<input type=button onClick="top.frame_name.document.location.href='page_address.aspx'">;

--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top