id формы = "secForm"
var data = "";
var xdata = document.getElementById("secForm");
for each (var item in xdata) {
data = data + item;
}
в data попадает:
string(5597) "[object HTMLInputElement][object HTMLInputElement][object HTMLSelectElement][object HTMLInputElement]FORMnull1[object HTMLDivElement][object NodeList][object Text][object Text][object Text][object Text][object NamedNodeMap][object HTMLDocument]function insertBefore() {
[native code]
}function replaceChild() {
[native code]
}function removeChild() {
[native code]
}function appendChild() {
[native code]
}function hasChildNodes() {
[native code]
}function cloneNode() {
[native code]
}function normalize() {
[native code]
}function isSupported() {
[native code]
}nullnullFORMfunction hasAttributes() {
[native code]
}FORMfunction getAttribute() {
[native code]
}function setAttribute() {
[native code]
}function removeAttribute() {
[native code]
}function getAttributeNode() {
[native code]
}function setAttributeNode() {
[native code]
}function removeAttributeNode() {
[native code]
}function getElementsByTagName() {
[native code]
}function getAttributeNS() {
[native code]
}function setAttributeNS() {
[native code]
}function removeAttributeNS() {
[native code]
}function getAttributeNodeNS() {
[native code]
}function setAttributeNodeNS() {
[native code]
}function getElementsByTagNameNS() {
[native code]
}function hasAttribute() {
[native code]
}function hasAttributeNS() {
[native code]
}123456789101112secForm[object HTMLCollection]7secFormpostfunction reset() {
[native code]
}410948690[object HTMLTableCellElement]
#####################
Мне надо содержимое следующих объектов:
HTMLInputElement
HTMLInputElement
HTMLSelectElement
HTMLInputElement