Version: 4.2.3 (KDE 4.2.3) "release 116" (using 4.2.3 (KDE 4.2.3) "release 116", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
OS: Linux (i686) release 22.214.171.124-0.1-default
Konqueror 3 and 4 don't implement the 'specified' attribute for the "Attr" element. The definition can be found here: http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-637646024
This breaks jQuery 1.3.2, which relies on this attribute to retrieve the value of an <option> element. Because KHTML doesn't have this attribute, the jQuery functions val() and serialize() can't properly convert an HTML form to "postdata" string for submission over Ajax.
Bug for jQuery is reported here: http://dev.jquery.com/ticket/4725
Thanks for the report... I think it's rather looking for a [[Get]] on a NamedNodeMap. (Why would one ever use that rather than hasAttribute?
FYI, using Attr nodes bloats up memory use both for us and webcore).
Hi... I am about to commit something that may fix this; do you have a testcase I can try to see if it addresses the issue?
SVN commit 984521 by orlovich:
Add [[Get]] on NamedNodeMap
M +5 -0 kjs_dom.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=984521
Sorry, I don't have a test case.
It wouldn't be too hard to code it, these would be the key points:
- a <form id="test">
- a <select name="sel" id="selField"> tag.
- alert( $("form#test").serialize() );
- alert( $("#selField").val() );
seems fine on trunk.