Flutje Posted December 15, 2011 Share Posted December 15, 2011 I am struggling with something. I want to create a dropdown menu but each menu should generate a special link behind the existting page link it is on. I have a site which lists, among other things, hotels in several different cities. Each city has it's own ID. So when I am looking at a hotel in city 1 and open the drop down menu and choose city 2 the page should open by adding only the city ID to the original pagelink/url. <form><select><option value="1" selected="selected">city 1</option><option value="2">city 2</option><option value="3">city 3</option></select></form> What needs to be added behind every pagelink when choosing another city is this: ?multi_city=2 As said every city has it's own ID so the above would link to city 2, for linking to city 3 it would be ?multi_city=3 Would anyone know how to achieve this in HTML? Link to comment Share on other sites More sharing options...
syedmahfuj Posted December 15, 2011 Share Posted December 15, 2011 Hello Flutje i am facing problem like you..But i can't create & get drop down menu & link ..Lets se anybody answer the question..Thanks for the post Link to comment Share on other sites More sharing options...
TheGallery Posted December 15, 2011 Share Posted December 15, 2011 You'll either have to use javascript or php/asp for that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.