jQWidgets jqxValidator updatePosition() Method
The updatePosition() method is used for updating the positions of all hints for the specified jqxvalidator. This method is useful while resizing the current window.
Parameters: This method does not accept any parameters.
Return values: This method does not return any values.
Linked Files: Download jQWidgets from the given link. In the HTML file, locate the script files in the downloaded folder.
<link rel=”stylesheet” href=”jqwidgets/styles/jqx.base.css” type=”text/css” />
Example: The below example illustrates the jQWidgets updatePosition() method. In the below example, after running the code, the current window has been resized which is why the position of the hints has been changed. So after invoking the updatePosition() method, the position of all hints is updated to its default position.
Please Login to comment...