free javascript
Pages
Home
About
get it
Blogger templates
Home
About
Blog
Services
Portfolio
Contacts
Back to Article
How it Works?
DropDown List and TextBox
Copy the Below Code and Paste it in HTML in Blogger post anywhere or flow like this > sing in > Design > Layout > Add a gadget > HTML/JavaScript and Paste the code and save it.
<!-- this script got from my-javacodes.blogspot.com coded by: Morad Hasan--> <script LANGUAGE="JavaScript"> <!-- Begin var messages = new Array(6); messages[0] = ""; messages[1] = "javascriptfreecode is a cool java site"; messages[2] = "Can you imagine how you could use it on your site?"; messages[3] = "It's great for sharing lots of information."; messages[4] = "And doesn't take up much space! "; messages[5] = "So, get the code and put it on your site!"; function messageReveal() { var messageindex = document.messageForm.messagePick.selectedIndex document.messageForm.messageField.value = messages[messageindex]; } // End --> </script> <!-- STEP TWO: Put this code into the BODY of your HTML document --> <body> <center> <form name="messageForm"> <p> <select name="messagePick" OnChange="messageReveal()"> <option value="0">The Menu Message</option> <option>SONY CARD 20</option> <option>Possible uses?</option> <option>Shares Information</option> <option>Saves space</option> <option>Get the code!</option> </select> <br> </p> <p> <textarea name="messageField" rows="5" cols="41" wrap="virtual">
get it
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment