View Full Version : changing id containers

06-21-2010, 11:00 AM
How can i edit the following html/javascript so that when a user submits the form the element with id #container is updated with the value from #name

<form action="" method="post" name="form_name" id="form_name" onsubmit="return update_name(this)">
<label for="your_name">Enter Your Name</label>
<input type="text" name="your_name" id="your_name" />
<input type="submit" />

Philip M
06-21-2010, 05:24 PM
Please read the forum rules re homework.