Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 August 14th, 2003, 09:36 PM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default refreshing data



Gud day

Apparently I am a newbie so here goes:

I have a problem on how to refresh the contents of my form after I have triggered it thru a button.

Also how do I refresh the contents of a form found in another page when I trigger a button from a popup page page?

thanks in advance

 
Old August 15th, 2003, 12:32 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Submit the form to itself, process the form data you have changed and then display the form and the ammended data.
To submit the form use a submit button or better still use the javascript command in the onclick event of the button

onclick="formname.submit();"

To refresh the parent window of a pop up use javascript to submit the parent pages form.

window.opener.window.formname.submit();

======================================
They say, best men are moulded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================





Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC linked table showing old data (not refreshing d-fxt Access 3 November 14th, 2007 05:56 PM
Refreshing a Datagrid hexOffender VB.NET 2002/2003 Basics 0 September 22nd, 2006 10:31 AM
Auto refreshing data on asp page x_ray Classic ASP Basics 2 December 7th, 2005 07:00 AM
refreshing XML withour refreshing the page sasidhar79 XML 1 January 12th, 2005 05:16 AM





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