Tag Archives: country state dropdown selection example in angularjs

Automatic dropdown box loading using angularjs

Populate a dropdown2 based on dropdown1 Here i am explaining the code for loading a state dropdown using country dropdown using angularjs and php. Step1:create a database mytest_data and create 2 tables tbl_country and tbl_state. here country table is associated with state table using country_id.

create the tables using the above code. Step2:create two… Read More »