I have a form:
From Date: ... To Date: ... Vehicle Number: ... button (show record) dropdownmenu
I enter the dates (from and to) and vehicle number it select the record right when I click on button, but now I want to do it that when I select another option from drop-down menu the form remains the same:
From Date: ... To Date: ... Vehicle Number: ... button (show record) drop-down menu
when I click the button it will take only from Date field value and run another query and ignore to data and vehicle number.
In short: on select option of drop-down menu I will change the onClick event of button to run another query.