Posted by Dmitrii Ignatiev on June 16, 1998 at 17:52:11:
I have problem with access to anchors names in document.
From time to time the string returned are not correct. I have tried
to catch the data by the following
MyVar = window.document.anchors[Counter].name;
MyAnchor = new Anchor ();
MyAnchor = window.document.anchors[Counter];
MyVar = MyAnchor.name;
Neither first, nor second of ways shown do not satisfy me, because
of error in values they return. All data in a saved document is correct,
but I cannot import it without loosing of some fields (Not all. It seems to depend
of anchors array length).
Any idea will be appreciated. Good luck!
>>> Why do I need this? I want to allow the user of my JS program to save the data,
entered in a form. In general the script must generate the HTML table
with very specific format, that our ingeneers draw manually or using
graphic editors. It is clear, that such a thing should be done in any