Adding filter to Ajax API

Adding filter to Ajax API

I am making a call using Ajax to display a list of hotels. I have a filter menu on the left hand side that when you press the update button it will send additional parameters to the base call of the ajax such as minimum rate = $100 and maximum rate = $300 and so on.

It with the make a new call to the api and show hotels from $100-$300.

How do you send the new data to the same page for it to update with the filtered results.I can get the new data inside the data object but cannot action the update button to send it

Any help at all to make filter options with API over cross browser Ajax.