I have two forms for which I want to send the data through jQuery Ajax call. I managed to send it successfully for one form but I am not able to send the data from both of them
You're using a function call in your filtergroup2 form that doesn't exist.
filtergroup2
filterBy2() I assume needs to be filterBy()
filterBy2()
filterBy()