text: how can i add dropdown box to website? i want visitors to be able to select which state they live in from a drop down and when submit button is pressed i want info to be tallied and updated in a "results" table. what development language/environment you're using or is it just html   edit : the best thing to do in this situation is to use a server side language such as asp or asp.net. here is a rough example using a simple form and javascript:     function dropboxchange() {   var selectedstate = document.form1.state.value;   //the line above gets the value that is selected by the   user and stores it in a variable selected state.  }             state1    state2      from here you can then submit the selected value to the server; do a query in your database based on the selected state and increase its value by 1.  hope this helps