I trying to create a custom property editor for Umbraco 7 that talks to an external web service, retrieves some data then populates a number fields in the form with the data it's retrieved. I've tried doing this with the following simple code:
$("#textbox_id").val("new value");
This does indeed populate the correct field with the correct data. However if I save and reload the form the data has not been updated and value returns to it's original value.
Any suggestions?