Dear Dynapi experts,
after much ignorance I managed to make up something which works as I like.
It is compliant with the DOM level 2 (http://www.w3.org/TR/DOM-Level-2/).

I was wondering what should I do to "convert" this code so that it use DynApi.
Infact, currently this code does not run with Netscape 4.7X as Netscape reports that
"createElement is not a function"

<HTML>
<HEAD>
<TITLE>Untitled</TITLE>
</HEAD>
<BODY ID="oBody" >
<h1>Product level</h1>
<FORM name="formName" method="POST" action="/cgi-bin/submit.cgi"">
<SELECT ID="oSelect"  SIZE="3" ></SELECT>
<INPUT type="TEXT"   ID="oData" >
<INPUT TYPE="button"
       VALUE="add to list"
       onclick="var oOption = document.createElement('OPTION');
                     oOption.text=oData.value;
          oSelect.add(oOption);">
<INPUT TYPE="button" VALUE="Submit">
</FORM>

</BODY>
</HTML>



_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to