I have problem while loading data into html select when users press or click button.
Here is the scenario:
- There is button to create button dynamically
- When user click that button then the form displayed
- When the form displayed there is an html select dynamically
showing data from database using php as a server side.
Does anyone know how to solve the scenario number 3?
I have used jquery to create new form but to load data into html select is really painful for me.
PHP
something like this:
JS