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

Alan Lord alanslists at gmail.com
Fri Jan 20 13:56:33 GMT 2017


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




More information about the vtigercrm-developers mailing list