Hi,

I'd like to get myid from the page,  but following code will not work, the
line:

var google_conversion_id = "${myid}"

will be rendered as it is, it is not as what I expected

var google_conversion_id = "12345678"

any idea how to embed a variable in a javascript in the template? thanks

Anelo


<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = ${myid}
var google_conversion_language = "en_US";
var google_conversion_format = "3";
var google_conversion_color = "ffffff"
//-->
</script>
-- 
View this message in context: 
http://www.nabble.com/t5%3A-embed-a-variable-in-a-javascript-in-a-tml--tp23382334p23382334.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to