lundi 21 août 2017

Rails checkbox + Ajax

I am trying to build a simple web app that has an index that shows a full blown list of 100 of my jobs.

When i check on a checkbox on the left on my index view, I want the right hand side job list to update to show only those filtered ones. For example, if I have three checkboxes that show the attribute of jobs location [Malaysia], [Singapore], [Vietnam]. When i click on either of them, the jobs on the right will filter and display the jobs with the checked locations. Preferably with Ajax or Elasticsearch or React framework/library

I have read several of the stack overflow posts but those seem overly complicated (at least to me as a beginner). Does anyone has a simpler solution or can point me in the right direction to a link that explains this?

Thanks!




Aucun commentaire:

Enregistrer un commentaire