Guest_imported
New member
- Jan 1, 1970
- 0
Dear Colleagues,
I have a challange in making a page (for both IE and Netscape,
both version >= 4). That page should contain an inputbox, and some extra information (metadata) about the inputbox, which I have to use
in JavaScript for checking the information on the client and displaying a correct infomative message to the user.
I tried things like:
<INPUT NAME="T1" MSG="This is textbox 1" ID="FirstTextbox" VALUE="123">
The problem is that I cannot access extra information in a tag in Javascript in Netscape (IE has no troubles displaying the extra
attributes like MSG).
I wondered if it is possible to add extra info with things like a <SPAN> or <DIV> tag in such a way that I can access it both in Netscape
and IE. I actually need only one extra value for now, but in future I might require more than one.
Any help would be greatly appreciated!
I have a challange in making a page (for both IE and Netscape,
both version >= 4). That page should contain an inputbox, and some extra information (metadata) about the inputbox, which I have to use
in JavaScript for checking the information on the client and displaying a correct infomative message to the user.
I tried things like:
<INPUT NAME="T1" MSG="This is textbox 1" ID="FirstTextbox" VALUE="123">
The problem is that I cannot access extra information in a tag in Javascript in Netscape (IE has no troubles displaying the extra
attributes like MSG).
I wondered if it is possible to add extra info with things like a <SPAN> or <DIV> tag in such a way that I can access it both in Netscape
and IE. I actually need only one extra value for now, but in future I might require more than one.
Any help would be greatly appreciated!