WCRefreshController.updateFormId(newFormId)

The WCRefreshController.updateFormId function updates the form id that is passed to the AJAX call. If specified, all input elements in the specified form are passed as the data attribute into the JQuery.ajax call.

Example

$("#findOrdersRefreshArea").refreshWidget("updateFormId", this.searchListData.formId);

Parameters

newFormId
(String) The form ID that is passed to the AJAX call.