Programming and Webmasters forum
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

Can't stop the Timer

 
webmaster forum
 
New Poster
Posts: 8
Topics: 5
May 07, 2010, 02:03:03 AM

Hello Everyone

I got this code for the timer, but the timer continues, how can I stop it using the Timer_Function:
When i trying to send "Timer1" as array in the $params I got this error message:

------------ Error --------------
Error: the XML response that was returned from the server is invalid.
Received:
<br />
<b>Fatal error</b>: Call to undefined method Timer::show() in <b>C:\wamp\www\tech\vcl\forms. inc. php</b> on line <b>295</b><br />

You have whitespace in your response.
--------------------------------

function Timer1JSTimer($sender, $params)
{
echo $this->Timer1->ajaxCall("Timer_Function",$sender, $params);
?>
<?php
}

function Timer_Function($sender, $params)
{
$this->Timer1->Enabled=false;
}

UK Website Design Company for custom Ecommerce website development and open source customization.
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC


Google visited last this page August 25, 2010, 04:07:23 AM