SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Evangelist anjanesh's Avatar
    Join Date
    Jun 2004
    Location
    Mumbai
    Posts
    447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting all <form>'s elements

    Code:
    <form id="frm1">
    <input../>
    <input.../>
    </form>
    Code:
    <script type="text/javascript">
    function get_all_FormElements()
     {
     //
     }
    </script>
    How can I traverse through all elements' attributes and ids of a given form id ?

    Thanks
    Anjanesh

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2006
    Location
    Leeds, UK
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


Bookmarks

Posting Permissions

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