CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Simple..........I just don't know

Print topic Send  topic

Author Message
Trevor
Posted: 06/08/2002, 7:31 PM

I have a two-fold problem that I am trying to figure out and I'm hoping someone can shed some light on this for me. (CC2 and PHP)

The situation is that I have a form where I am recording time spent on tasks in a table called time_capture. There is a button on this form that opens a new window to record any interruptions to this task in a table called interruptions. The common field for these two tables is task_id.

Question 1: When the button to start an interruption recording is pressed,

(code: Record an Interruption <a href = "javascript:new_interruption();"><img src="images/next.gif" width="16" height="16" border="0" alt="Click Here to Record a new Interruption"></a>)

I want to pass the task_id to the new interruptions window. I call the new window with the code:

<script language="JavaScript">
//open a new window for interruption recording
function new_interruption() {
var w = open ('', 'windowName', 'width=300,height=200,titlebar=0');
w.document.open();
w.location.href="interruptions.php";
}
</script>

Question 2: When I have finished recording the interruption and click the Insert button, I want the interruption window to close so that I can continue recording the task.
CodeCharge Support
Posted: 06/10/2002, 6:52 AM

Trevor,
please refer to response in support system

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.