[RESOLVED] Popup Textbox
Another very quick question, how would I go about putting into my website a popup that has a textbox within it. Not a custom popup, a box like an 'alert' box.
An example of this can be seen when one clicks on the 'insert hyperlink' button on the text editor on this website.
I hope this makes sense, thanks in advance
Is this what you have in mind? ...
Are you looking for something like this from: http://www.w3schools.com/JS/js_popup.asp
See the 'Prompt Box' section:
var name=prompt("Please enter your name","Harry Potter");
if (name!=null && name!="")
document.write("Hello " + name + "! How are you today?");
<input type="button" onclick="show_prompt()" value="Show a prompt box" />
Thats perfect, thanks very much
You're most welcome.
Glad I was able to help.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)