I am implementing a data recordset table.
I would like to create 2 radio buttons for user selects the option to control my data table.
For example, the radio buttons are: (imagine the interface as describe below)
- View by Month: ['month' drop-down list] - ['year' drop-down list]
- View by Date: Start Date: [date picker] to End Date: [date picker]
If my customer want to view the table with March only. He needs to select [View by Month] radio button, and then select month and year drop-down list.
If my customer want to view certain date of periods, she needs to select [View by Date] radio button, and then pick the date on the box (I assume Javascript
I have search round the Q&A in stackoverflow, but have no idea which one suitable to implement into my codes that written in PHP, I have no Javascript nor jQuery knowledge, I hope can get a simplest solution.
I want to pass this parameter to a URL and retrieve the data recordset onto my page.