Hi, how can I prevent the ‘Please fill out this field’ message from popping up in the below example? This example is straight from the jxqFileUpload documentation page, with the addition of the form and an input field with the ‘required’ attribute.
Thank you!
<!DOCTYPE html>
<html lang=”en”>
<head>
<title>jQuery File Upload Sample</title>
<link type=”text/css” rel=”Stylesheet” href=”../../jqwidgets/styles/jqx.base.css” />
<script type=”text/javascript” src=”../../scripts/jquery-1.11.1.min.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxcore.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxbuttons.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxfileupload.js”></script>
<script type=”text/javascript”>
$(document).ready(function () {
$(‘#jqxFileUpload’).jqxFileUpload({ width: 300, uploadUrl: ‘upload.php’, fileInputName: ‘fileToUpload’ });
});
</script>
</head>
<body>
<form”>
<input id=”Name” required=”required” />
<div id=”jqxFileUpload”>
</div>
</form>
</body>
</html>