Published in: HTML
The simple form that calls the searchYahoo function.
<!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"> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="keywords" content="" /> <meta name="description" content="" /> <title>Javascript Testing</title> <!-- CSS Links --> <link rel="stylesheet" href="css/ajax.css" type="text/css" media="screen" /> <!-- Scripts Here --> <script src="js/global.js" type="text/javascript"></script> <script src="js/yahoo.js" type="text/javascript"></script> </head> <h1>Yahoo Search</h1> <form onsubmit="searchYahoo(this.query.value); return false" action=""> <label for="">Search For</label> <input type="text" name="query" id="query" /> <input type="submit" value="Search" /> </fieldset> </form> <div id="results"></div> </body> </html>
You need to login to post a comment.
