j115
03-26-2010, 05:07 PM
My variable is subject and the value of my variable will be Hello World
Here is my code:
var myEvent = new WoopraEvent("postevent"); // Initialize event and give it a name
myEvent.addProperty("apost","<?php echo $subject; ?>" );
myEvent.fire();
Here is my problem. When I look at the source code when the page loads, this shows.
var myEvent = new WoopraEvent("postevent"); // Initialize event and give it a name
myEvent.addProperty("apost","Hello world" );
myEvent.fire();
How can I make it show the space instead of
Thanks!
Here is my code:
var myEvent = new WoopraEvent("postevent"); // Initialize event and give it a name
myEvent.addProperty("apost","<?php echo $subject; ?>" );
myEvent.fire();
Here is my problem. When I look at the source code when the page loads, this shows.
var myEvent = new WoopraEvent("postevent"); // Initialize event and give it a name
myEvent.addProperty("apost","Hello world" );
myEvent.fire();
How can I make it show the space instead of
Thanks!