inserting php value into javascript
<p>I have a countdown script i wan to key in the targetdate as a value in a form to store in the database.i have tried targetdate = $date in the script but it doesn't seems to read the value.</p>

<pre><code>&lt;script language="JavaScript"&gt;
TargetDate ="1/31/2012 5:00 AM";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
FinishMessage = "It is finally here!";
&lt;/script&gt;
&lt;script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"&gt;&lt;/script&gt;
</code></pre>
