jQWidgets jqxFileUpload cancelFile() Method
The cancelFile() method is used to set the button which explicitly uses another button to cancel a selected file. It does not take any parameter and does not return any value.
@param int. denotes the expected parameter which is the file index.
Linked Files: Download jQWidgets from the link. In the HTML file, locate the script files in the downloaded folder.
<link type=”text/css” rel=”Stylesheet” href=”jqwidgets/styles/jqx.base.css” />
Example: The below example illustrates the jqxFileUpload cancelFile() method in jQWidgets.