Wrox Programmer Forums
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 25th, 2005, 09:33 AM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default Button onClick

hi,
   How do you get a button when its clicked to display the page within the main webpages frame called index.html and the frame is called main.

__________________
Apocolypse2005, I'm a programmer - of sorts.
 
Old November 25th, 2005, 09:37 AM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default

I am using: onClick=location.href='window.parent.topframe.loca tion('index.html')'






Similar Threads
Thread Thread Starter Forum Replies Last Post
Error at button onClick asters ASP.NET 1.0 and 1.1 Basics 5 July 23rd, 2008 09:35 AM
Button OnClick problem john6630 ASP.NET 2.0 Basics 2 September 21st, 2007 05:44 PM
Image button onclick msbsam ASP.NET 2.0 Basics 0 December 30th, 2006 04:47 AM
Change onclick of a button me_zeta HTML Code Clinic 1 November 20th, 2006 10:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.