<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I hope this will help you.</p>
<p>$('input[data-name="svc_charges"]').parents().find('.currencyValue').html("test");<br>
</p>
<p>Replace the <b>test </b>with your value to show. I'm not much
familiar with Detail_js but will solve your problem I hope. <br>
</p>
<br>
<div class="moz-cite-prefix">On 01/20/2017 09:11 PM, Alan Lord
wrote:<br>
</div>
<blockquote cite="mid:o5tb31$1tk$1@blaine.gmane.org" type="cite">On
20/01/17 15:19, Susruthan Seran wrote:
<br>
<blockquote type="cite">Try this..
<br>
<br>
jQuery('input[data-name="svc_charges"]').attr('data-displayvalue',100);
<br>
</blockquote>
<br>
It's getting somewhere...
<br>
<br>
In firebug that element now looks like:
<br>
<br>
<blockquote type="cite"><input class="fieldBasicData"
data-name="svc_charges" data-type="currency"
data-displayvalue="2264.177655529488" data-value="0.00"
type="hidden">
<br>
</blockquote>
<br>
But this has not updated the value visible to the end-user. This
is in the two nested <span> above the input tag...
<br>
<br>
I would have assumed that there would be some kind of API for this
kind of thing in the Detail_js class or similar but I've been
hunting around the code and can't find anything.
<br>
<br>
And picklists are just a nightmare... They really do seem to be
empty until you click the pencil icon to edit them :-(
<br>
<br>
Al
<br>
<br>
<br>
_______________________________________________
<br>
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a>
<br>
</blockquote>
<br>
</body>
</html>