Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2010
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    changing id containers

    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)">
    <fieldset>
    <label for="your_name">Enter Your Name</label>
    <input type="text" name="your_name" id="your_name" />
    <input type="submit" />
    </fieldset>
    </form>

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,080
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    Please read the forum rules re homework.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •