<!-- This script is featured at JavaScript Planet at
http://www.js-planet.com Check out JavaScript Planet for more scripts, links, etc. Please leave this comment intact. --> <form> <input type="button" value="Click here"onClick="var hh = prompt('enter your name',''); var gg = prompt('enter a color',''); alert('hello ' +hh+ ' you picked ' +gg+ ' !'); document.bgColor=gg"> </form> |