Page 1 of 1

pass full name via javascript code

PostPosted: September 18th, 2011, 1:23 am
by antseo
I need to pass the full name along in some javascript code. The following will not work though...

Code: Select all
<script type="text/javascript" charset="utf-8" >
var pd_tags = new Array;
pd_tags['full_name'] = '%%user_full_name%%';
</script>
<script type="text/javascript" charset="utf-8" src="http://static.polldaddy.com/p/1234567.js"></script>
<noscript><a href="http://polldaddy.com/poll/1234567/">Do you think blah blah blah?</a></noscript>


However, the result is not the full name but that line of text. How would I adjust what I have to accomplish this?

Re: pass full name via javascript code

PostPosted: September 25th, 2011, 12:44 am
by Cristián Lávaque
Where are you trying to do that? The template, the post/page body?

Re: pass full name via javascript code

PostPosted: September 25th, 2011, 4:30 pm
by antseo
hi there. In a page.