In general, I figured out the dynamic list, now the problem is the following. ) I need to enter the text that will be attached to the opions when selecting options in textarea. For example, there is a form
<form name="form1" action="" method="POST"> <select class=select id="brands_id" name="myselect" onchange="catalog_rebuild(this.options[this.selectedIndex].value)"><option value="0">--- <option value="1">Toyota <option value="2">Nissan </select> <textarea name="mytext">ΠΠ°ΠΊΠΎΠΉ-ΡΠΎ ΡΠ΅ΠΊΡΡ!</textarea> </form> With the help of which script can I get, say, when choosing the item Toyota to display the text in the textarea with the description of this company?