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
|
|
|
 |
|