title: Drop down list inside a pop up window (comes up when button is pressed)
body: <p>Currently I'm trying to create a button which creates a popup box which in turn has a drop down list, like in <a href="http://www.w3schools.com/tags/tag_select.asp" rel="nofollow">here</a>. However, I'm having trouble figuring out how to put the drop down list inside the pop up window. Can anyone help? </p>
  
  <p>I currently have a pop up window with a form, but I want to change this form into a drop down list. refer this <a href="http://jsfiddle.net/tchchan/L8PVz/3/" rel="nofollow">jsfiddle</a> </p>
  
  <pre><code>&lt;p&gt;Do you have an agreement or a conflict?&lt;/p&gt;
  &lt;button onclick="myFunction()"&gt;Try it&lt;/button&gt;
  
  &lt;p id="demo"&gt;&lt;/p&gt;
  
  &lt;script&gt;
  function myFunction() {
      var person = prompt("Please enter your name", "");
  
  }
  &lt;/script&gt;
  </code></pre>