Question: I´m creating a booking form for a group of hotels. Each hotel has a special offer page, which can be accessed by adding the parameter `&ratePlanID=xxx` to the request URL.

How can I add the ratePLanID dynamically when a user selects the hotel from a dropdown list?

I´ve tried to write a function that sets the value of an input field with the correct ratePlanID when a user selects the hotel, but I can´t get it to work. 

This is what I came up with: <http://jsbin.com/oduhet/3/edit#javascript,html,live>

Any ideas what I did wrong here or another way to accomplish this?

Answer: 
You are correct - the first one is a Web Site Project and the second is a Web Application Project. The easiest way to check is to look for the .csproj file - this isn't needed by the Web Site Project as it simply includes all files in a specific folder.

The property pages also look significantly different for the two.
You *can* convert a website to a web application. Here is a nice [walk-through](http://msdn.microsoft.com/en-us/library/aa983476.aspx) on MSDN.