Return to Snippet

Revision: 2610
at March 14, 2007 07:44 by 1man

Initial Code
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" 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>
		<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" />
		<div id="results"></div>

Initial URL

Initial Description
The simple form that calls the searchYahoo function.

Initial Title
Pull in News from Yahoo API Using JSON HTML

Initial Tags
form, ajax, simple, json

Initial Language