JavaScript: working with forms
I have such situation:
I have <select name="sel"></select> form element. Now I want to add an option with help of JavaScript, and write text there.
It should be something like this
---
document.forms[0].sel.addOption (addOption@ indzanic em horinel, et dzev method chka)
document.forms[0].sel.options[Novy Option ID].text = "Privet";
---
|