View Single Post
  #5 (permalink)  
Old March 19th, 2004, 05:00 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Add a div element to your existing code:
Code:
Self Serve: 
          <input type="radio" name="type" value="selfserve" onclick="selfservupdate();" />
          </strong><div id="divMessage"></div></td>
In your function have:
Code:
function selfservupdate()
{
var oOutput = docuemtnt.getElementById("divMessage");
oOutput.innerHTML = "I must read other answers, especially those posted by Snib, more carefully";
}
As a side matter if this is designed for IE beware, IE cannot handle xhtml properly and will often fail to display or run code correctly for no apperent reason.

--

Joe
Reply With Quote