Answers.Body: <p>The proper way to do this would be to use <a href="https://github.com/pixelandtonic/ElementAPI" rel="nofollow noreferrer">ElementAPI</a>, however you could create an alternative template with a JSON header coupled with a route. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-03T11:47:57.630Z
Answers.LastActivityDate: 2016-11-03T11:47:57.630Z
Answers.UserDisplayName: Kyle
Body: <p>I would like to be able retrieve all entries based on a category selected in a drop down list. From a UX perspective, I would like this to be as seamless as possible and not have to do full page refresh. Is this something I should build using the ElementAPI or is there better way to accomplish this?</p>
  
Tags: <ajax>
Title: Handling dynamic content
ThreadText: # Handling dynamic content
  
  (Asked by: username_0 on 2016-11-02)
  
  I would like to be able retrieve all entries based on a category selected in a drop down list. From a UX perspective, I would like this to be as seamless as possible and not have to do full page refresh. Is this something I should build using the ElementAPI or is there better way to accomplish this?
  
  **Tags:** ajax
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-11-03. Score: 1
  
  The proper way to do this would be to use [ElementAPI](https://github.com/pixelandtonic/ElementAPI), however you could create an alternative template with a JSON header coupled with a route.
  
  
  ---
  
  