Menu

#123 jtidy is not setting attribute type for <input type=text>

open
nobody
None
5
2012-10-08
2004-07-08
Anonymous
No

1) Parse in an html file that contains <input type="text">.
2) call document.getElementsByTagName("input")
3) iterate through and call node.getAttribute("type")
4) it incorrectly returns "", it should return "text"

Discussion


Log in to post a comment.