reach100
08-11-2008, 09:38 PM
Hi, I need some help writing a simple javascript function that allows me to change the background color of a table.
http://dev.tommybaynard.com/sample_page2.php
Thyanks for any help...
Rich
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Reach1000 sample</title>
</head>
<body>
<p><a href="#">Change Table to Blue</a></p>
<p><a href="#">Change table to red</a></p>
<table width="500" height="500" border="0" cellpadding="20" cellspacing="0" bgcolor="#cccccc" id="myTable">
<tr>
<td><p> </p>
</td>
</tr>
</table>
</body>
</html>
http://dev.tommybaynard.com/sample_page2.php
Thyanks for any help...
Rich
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Reach1000 sample</title>
</head>
<body>
<p><a href="#">Change Table to Blue</a></p>
<p><a href="#">Change table to red</a></p>
<table width="500" height="500" border="0" cellpadding="20" cellspacing="0" bgcolor="#cccccc" id="myTable">
<tr>
<td><p> </p>
</td>
</tr>
</table>
</body>
</html>