WCRefreshController.updateUrl(newURL)

The WCRefreshController.updateUrl function allows developers to update the URL of the refresh area. The URL is usually defined in the JSP by using the refreshurl attribute, but in some circumstances you might need to change the URL.

Example

$("#WishlistSelect_Widget").refreshWidget("updateUrl", "<c:out value="${WishListSelectAreaView}"/>");

Parameters

newURL
(String) The new URL of the refresh area.