Follow the Code Queen tutorials and get a dynamic dropdown between state and city.
But I would like that when selecting the city, the person went to a new exclusive page (I created pages for all cities)
can anybody help me?
I suggest you to create a database that contain a Name field of your cities and URL filed that include each page city his URL.
Afterword, add an onChange() event handler to your dropdown and use Query() function to search for the select city in the new database.
The resolve will be an array of object that contain the city’s data from the collection.
Now, use wixLoction.to() function to get to the chosen city’s page ( using the city’s URL from the collection)
Here you can read about onChange() event. Here you can read about Query() function. Here you can read about wixLocation.to() function.