Dynamically generate table in form using Ajax with symfony
<p>I am working with symfony project . I want to generate  table in form when select some option in the form.</p>

<p>This is my task.</p>

<p>There is name options in the form ( eg. John , Mia , Lia .. etc)
When we select "John" . I want to display  all detail about "john" using table.
that table should be locate in form .</p>

<p>There is some example is in this  link <a href="http://www.w3schools.com/php/php_ajax_database.asp" rel="nofollow">http://www.w3schools.com/php/php_ajax_database.asp</a></p>

<p>But i want to do that using symfony.</p>

<p>What is the best way do this.</p>

<p>Please mention some example. </p>

<p>using Javascript , Jquery or ajax with Symfony</p>