Hi
If you want pre-populated values into JavaScript use below option
<script>
var variable_name;
variable_name ="<?php echo $url; ?>";
</script>
if you want dynamic values then use Ajax
Thanks,
Muthukumar Selvarasu,
Project Manager (Web Development),
Webmasters Ltd.
_____
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, December 27, 2007 5:20 PM
To: [email protected]
Subject: [php-list] initialize php variables in JavaScript
Hi guys,
I've a little problem, I want to initialize php mysql variables into
JavaScript, suppose I've a url field when feature (radio button change) it
suppose to re-initialize the url variable with blank character.
$URL1 = " ";
I tried myself but cant succeed, is anybody can help
Thanks in advance.
AHMER
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]