SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 29 of 29
  1. #26
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    jimfraser, did you really try it with the above HTML? Note that there is an input element with a name attribute equals to name. This confuses IE. At least version 6.

  2. #27
    SitePoint Wizard
    Join Date
    Nov 2004
    Location
    Nelson BC
    Posts
    2,310
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's the problem then. Don't have a form element with name="name". Other bad names for form elements include:
    elements
    nodeName
    innerHTML
    getElementsByTagName
    method
    action
    submit
    etc

    Using any of these and many more will break javascript access to forms in pretty much all browsers.

  3. #28
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by jimfraser View Post
    Using any of these and many more will break javascript access to forms in pretty much all browsers.
    How about posting a small testcase to back that up?

  4. #29
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, ouch, I see what you mean now.


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
  •