Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
value-of inside javascript
sm_arg
Hi!
I have a trouble with javascript when I use the clause <value-of>, e.g.,:
var x=<VALUE-OF>row["COLUMN_NAME"]</VALUE-OF>;
If the column type is an integer, its works fine, but if it is a String nothing happens and broke the javascript code after this line.
Thanks in advance;
Find more posts tagged with
Comments
mwilliams
Try putting quotes around the <value-of> statement.
asmaa
<p>then how to set report parameter using '<value-of>' inside javascript?</p>
mwilliams
I meant to try: var x = "\"" + <value-of>row["COLUMN_NAME"]</value-of> + "\"";