<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Datapoint value in a javascript variabile]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">I did this test using Custom View: (view:staticPoint Xid"DP____")</p>
<p dir="auto">&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;h1&gt;Custom View Example&lt;/h1&gt;</p>
<pre><code>&lt;td align="right" style="padding-right:20px"&gt;A point value:&lt;/td&gt;
&lt;td&gt;&lt;view:staticPoint xid="DP_172310" disabledValue="(disabled)"/&gt;&lt;/td&gt;
</code></pre>
<p dir="auto">&lt;script&gt;<br />
var a;</p>
<p dir="auto">a="&lt;view:staticPoint xid='DP_172310'/&gt;";<br />
alert(a);</p>
<p dir="auto">&lt;/script&gt;</p>
<p dir="auto">&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p dir="auto">The string variable is loaded correctly inside a except when contained character CR (16x0A) or character " because obviously there is an error in the script<br />
There is' a way to replace these characters with escape characters (eg. \n)?<br />
I tried to change util.js in dwr but I could not get anything.<br />
Tank you</p>
]]></description><link>https://forum.mango-os.com/topic/1831/datapoint-value-in-a-javascript-variabile</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 02:49:46 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/1831.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Mar 2015 14:43:13 GMT</pubDate><ttl>60</ttl></channel></rss>