<cfquery name="get_last_ten" datasource="#application.datasource#">
   SELECT		*
   FROM			Orders
   WHERE		BusinessID = #request.BusinessID#
   					AND
				AddedOn > #createODBCDate(form.startdate)#
   					AND
				AddedOn < #createODBCDate(form.enddate)#
   ORDER BY		AddedOn DESC
   LIMIT		0,10
</cfquery>

<!--- <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> --->
<script src="https://unpkg.com/gijgo@1.9.14/js/gijgo.min.js" type="text/javascript"></script>
<link href="https://unpkg.com/gijgo@1.9.14/css/gijgo.min.css" rel="stylesheet" type="text/css" />

<form action="#request.cgiPath#" method="post" name="myformreadyorder#get_orders.ID#" id="myformreadyorder#get_orders.ID#" style="display:inline;">

	<input id="datepicker" name="startdate" width="150" />
	<script>
	    $('#datepicker').datepicker({
	        uiLibrary: 'bootstrap5'
	    });
	</script>
	
	<input id="datepicker1" name="enddate" width="150" />
	<script>
	    $('#datepicker1').datepicker({
	        uiLibrary: 'bootstrap5'
	    });
	</script>
	
	<input type="submit" value="Submit">

</form>