i using PHP for the project to create a SELECT/Drop down for the Country and state
Code to create Drop-down list and i putting this way
FYI, fillCategory() in fact is a function with PHP code which get the value from database. the value here are where i captured from Firefox error console, the strange case here is if i have put limitation for DB query like "SELECT * from country limit 10" , then it will generate the Drop down list but not the case of full list.
Can any expert here point out what's wrong on my JS script ?