/ Published in: JavaScript
Easy form to use. Just enter the item to be searched and click the search button. Great for comment boards and blogs, even forums.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script> function googles() { s = document.google.search.value window.open('http://www.google.com/search?q=' + s) } </script> <h3>Google Search</h3> <form name = 'google' method = 'post'> Enter Search Term:<input type = 'text' value = '' name = 'search'> <p><input type = 'button' onclick = 'googles()' value = 'Search'> </form>