javascript - Drop down list inside a pop up window (comes up when button is pressed) -


Currently I'm trying to create a button that creates a popup box which in turn has a drop down list, However, I have to figure out how to insert a drop down list inside the pop up window. Can someone help me?

I currently have a pop-up window, but I want to convert this form to a drop down list. Refer to

  & lt; P & gt; Do you have any contracts 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;    

You are using hint The default for < Input is> Browser .

If you want popup with the dropdown you choose, you will have to create custom popup

it is used.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -