Hi.
having a problem with linking my javascript function, to a webpage for an
assignment.
tried a number of thing.
if i take out the javascript line and have got my folder structure correct.
when i put in the javascript line, and using jaws 6.10, windows xp pro, and
using internet explorer 6.0, jaws does not read any of the links, text, etc,
and does when i take out the line below.
if any one can help me, why this is happening, and how to fix it so it
works.
cheers Marvin.
ps: will paste the webpage and the javascript below.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<link href="../styles/joe_style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="javascript/javascript/order.js">
<title>Joe's Order Form</title>
</head>
<body>
<div id="banner" class="banner">
<p> <img src="images/joes_header.jpg" width="482" height="42" alt="Joe's
Fruit Shop" /> </p>
</div>
<div id="nav" class="nav">
<img src="images/berry01_red.gif" width="22" height="20" alt="Red Berries"
/>
<br />
<div id="links">
<p> <a href="../html/index.html" title="Home">Home <span> Back To Home Page
</span> </a> </p >
<img src="images/berry01_red.gif" width="22" height="20" alt="Red Berries"
/>
<br />
<p> <a href="../html/produce.html" title="Joe's Fruit Shop Catalogue">Joe's
Fruit Shop Catalogue <span> Joe's Fruit Shop Catalogue </span> </a> </p>
<img src="images/berry01_red.gif" width="22" height="20" alt="Red Berries"
/>
<br />
<p> <a href="../html/history.html" title="Joe's History">Joe's History
<span> Joe's History </span> </a> </p>
<p> <a href="../html/contact.html" title="Contact Us">Contact Us <span>
Contact Us </span> </a> </p>
</div>
</div>
<div id="content" class="content">
<form name="orderForm" method="post">
<h2>Order Form For Joe's Fruit Shop</h2>
<h2>A * means you must fill in the details.</h2>
<h2>Your Details:</h2>
<p> * Name: <input type="text" name="Name" size="40" onclick="inputName()"
/> </p>
<p> * Address: <input type="text" name="Address" size="40"
onclick="inputAddress()" /> </p>
<p> * Suburb: <input type="text" name="Suburb" size="40"
onclick="inputSuburb()" /> </p>
<p> * Postcode: <input type="text" name="PostCode" size="4"
onclick="inputPostcode()" /> </p>
<p> * Email Address: <input type="text" name="Email" size="40"
onclick="inputEmail()" /> </p>
<p> Orders: <input type="text" name="Orders" size="4"
onclick="inputOrders()" /> </p>
<p>Credit Card Details:</p>
<p> * Type:</p>
<select>
<option value="AMEX" selected>AMEX</option>
<option value="VISA">VISA</option>
<option value="MCRD">MasterCard</option>
<option value="DINR">Diners Club</option>
<option value="BANK">Bankcard</option>
</select>
<p>Expiry date:</p>
<select>
<option value="1" selected>01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
<option value="1" selected>2006</option>
<option value="2">2007</option>
<option value="3">2008</option>
<option value="4">2009</option>
</select>
<p> <input type="submit" name="Submit" value="Submit" /> </p>
<p> <input type="Submit" name="Submit" value="Clear Form" /> </p>
</form>
</div>
<div style="position: absolute; left: 490px; text-align: left; font-size:
10pt;">
<a href="../html/copyright.html" title="Copyright Notice"
target="_blank">Copyright</a>
<a href="../html/privacy.html" title="Privacy Notice"
target="_blank">Privacy</a>
<a href="mailto:[EMAIL PROTECTED]'s Website Query">E-Mail Joe
Bashir</a>
<p>
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10"
alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
</p>
</div>
</body>
</html>
//Script Name: order.js
//Script Description: Order form For Joe's Fruit Shop
//Programmer Marvin Hunkin
//Date Created: Friday April 13 2007
//Version Number: 1.0
//Variable Declarations For Joe's Fruit Shop Order Form
var inputName;
var inputAddress;
var inputSuburb;
var inputPostcode;
var inputEmail;
var inputOrders;
//Function to display and validate Person's Name
function inputName()
{
document.write("Name:" + inputName);
If (orderForm.inputName.value=="")
{
alert("Please Enter Your Name:");
}
}
//Function to display and validate Persons Address
function inputAddress()
{
document.write("Address:" + inputAddress);
If (orderForm.inputAddress.value=="")
{
alert("Please Enter Your Address:");
}
}
//Function to display and validate Persons Suburb
function inputSuburb()
{
document.write("Suburb:" + inputSuburb);
If (orderForm.inputSuburb.value=="")
{
alert("Please Enter Your Suburb:");
}
}
//Function to display and validate Persons Postcode
function inputPostcode()
{
document.write("Postcode:" + inputPostcode);
if (orderForm.inputPostcode.value=="")
{
alert("Please Enter Your Postcode:");
}
if(orderForm.inputPostcode.value<4) && (orderForm.inputPostcode.value>4)
{
alert("Please Enter A Four Digit Number For The Postcode:");
}
}
}
//Function to display and validate Persons Email Address
function inputEmail()
{
document.write("Email Address:" + inputEmail);
If (orderForm.inputEmail.value=="")
{
alert("Please Enter Your Email Address:");
}
If (orderForm.inputEmail.value.indexOf["@"]=="") &&
(orderForm.inputEmail.value.indexOf["."]=="")
{
alert("Please Enter A Ambersand And At Character And Period In The Email
Address Field:");
}
}
}
//Function to display and validate Orders For Joe's Fruit Shop
function inputOrders()
{
document.write("Orders:" + inputOrders);
If (orderForm.inputOrders.value=="")
{
alert("Please Enter Your Orders For Joe's Fruit Shop:");
}
}
}
_________________________________________________________________
Advertisement: Your Future Starts Here. Dream it? Then be it! Find it at
www.ninemsn.seek.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2F%3Ftracking%3Dsk%3Ahet%3Ask%3Anine%3A0%3Ahot%3Atext&_t=762942039&_r=seek_apr07_yourfuturestartshere&_m=EXT
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************