How to do custom filtering using Ajax in magento 2

Hello I have one table in frontend , and this table contain 4 column: firstname,lastname,join date,price now i want to do one dropdown in that two option 1. This month and 2. This year when user select This month data should come only the current month by ajax. How can i do it in MAGENTO2 please help me.