I want to create a dynamic drop down list box in which

Locality is loaded on page load
Depending upon selected Locality...
Sub locality , Ward will be Loaded...
I done it by using form with 'get' method..
I want to done it using post method..
so that
Selected values are not shown in the URL..

Database Dump is Attached with it....


Demo can be seen here


from which i taken Help...


you are using database here therefore you need to select first the table_column of the database that has the value that you are going to use for the list.
it will give you an array result then
call it in a function so that everytime you add or remove a value on your database it will automatically updated.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.