View Single Post
  #2 (permalink)  
Old March 3rd, 2005, 04:46 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

Should be straight forward. Are you trying to change section C based on section B without any information from B being posted back in between? So if you have a text box in B named "txtDataB" then you can update one in C named "txtDataC" by having an a handler for the onchange event in txtDataB:
Code:
<input type="text" name="txtDataB" onchange="updateFormC(this, 'txtDataC');">

function updateFormC(Sender, TargetName)
{
  var oTarget = document.forms[2].elements[TargetName];
  oTarget.value = Sender.value;
}
--

Joe (Microsoft MVP - XML)
Reply With Quote