/ Published in: HTML
The simple form that calls the searchYahoo function.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="keywords" content="" /> <meta name="description" content="" /> <!-- CSS Links --> <link rel="stylesheet" href="css/ajax.css" type="text/css" media="screen" /> <!-- Scripts Here --> </head> <body> <form onsubmit="searchYahoo(this.query.value); return false" action=""> <fieldset> <input type="text" name="query" id="query" /> <input type="submit" value="Search" /> </fieldset> </form> </body> </html>