Categories

The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP (Paperback)

With over 3 million users worldwide, Adobe’s Dreamweaver is the most popular web development software in the world, and it just took another step forward with CS3, the new version released in 2007. Having come a long way from its humble beginnings as a simple web design tool, CS3 allows you to rapidly [...]

Get Dow Jones stock market data

This example retrieves the latest Dow Jones data from Yahoo finance when a page is loaded

Part 1 : The all important form

<html>
<head>
<script type=”text/javascript” src=”getdow.js”></script>
</head>
<body onLoad=”showDow(this.value)”>

Latest Dow Jones data:

<div id=”dowOutput”>
<b>
</b>
</div>
</p>
</body>
</html>

Part 2 : The JavaScript which in this case is in a file called getdow.js

var xmlHttp;
function showDow(str)
 {
 xmlHttp=GetXmlHttpObject();
 if (xmlHttp==null)
  {
  alert (“Browser does not support HTTP Request”);
  return;
  [...]

Ajax and PHP Stock Quote example

This is  a new source code section so we thought what could we have as a useful first example using Ajax, PHP and a bit of JavaScript. A stock ticker example. Lets go

Part 1 : Is the form itself.

<html>
<head>
<script type=”text/javascript” src=”getstock.js”></script>
</head>
<body>
<form>
Enter your stock ticker symbol:
<input type=”text” id=”txt1″ size=”30″ onkeyup=”showQuote(this.value)”>
</form><p>
<div id=”stockOutput”>
<b>
</b>
</div>
</p>
</body>
</html>

Part 2 : This is the [...]

Sample Chapter : AJAX and PHP Building Responsive Web Applications

AJAX and PHP Building Responsive Web Applications

This is a sample chapter from the book AJAX and PHP Building Responsive Web Applications, we offer you chapter 1 which is entitled AJAX and the Future of Web Applications.

Overview

Chapter 1: AJAX and the Future of Web Applications is an initial incursion into the world of
AJAX and the [...]