[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 96737] [test case] cannot create hidden input using DOM
From:       Jesse Pelton <jsp () pkc ! com>
Date:       2005-01-14 17:42:18
Message-ID: 20050114174218.17344.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=96737         




------- Additional Comments From jsp pkc com  2005-01-14 18:42 -------
David's right - setAttribute() works.  This would have been more obvious if my test \
case had appended the input to a form, hence the updated test case.  Furthermore, if \
you use setAttribute() to set the type, getAttribute("type") returns the correct \
type, though elmInput.type returns "text".

If I recall correctly, other browsers sometimes treat foo.setAttribute("att", "blah") \
differently from foo.att = "blah".  I find this puzzling, since my understanding is \
that they're supposed to be equivalent.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic