Refresh_field is not working on html fields?

I am trying to refresh a field based on socket.
i tried this


Any other way to achieve this. Other then reload a whole page.

Frappe and erpnext - 14

Hi @keerthana_2001:

Use this:

frm.set_df_property("your_html_field", "options", html_content);

Hope this helps.

1 Like

Also you can update the address via Python .
frappe.db.set_value(“Customer”,“cus_doc_name”,“description”,“address_title or address”)