[Vtigercrm-developers] vt7: How to update field from Javascript

Susruthan Seran susruthanz at gmail.com
Fri Jan 20 14:36:59 GMT 2017


Hi Alan

Is that a input?

Seran


On 01/20/2017 07:26 PM, Alan Lord wrote:
> What's the "trick" to update/alter the value of a field using Javascript?
>
> I Detailview I am trying something like:
>
>> jQuery('input[data-name="svc_charges"]').data('value', myNewValue);
>
> But the attributes do not seem to be updating and nor is the span with 
> the display value in it?
>
> is there something I need to "trigger" to get this to update?
>
> TIA
>
> Al
>
>
> _______________________________________________
> http://www.vtiger.com/



More information about the vtigercrm-developers mailing list