Dobry den.
Kedze nic neviem potrebujem poradit. Skusal som v Javascripte vytvorit inser do textarray
<script type="text/javascript">
function insertText(elemID, text)
{
var elem = document.getElementById(elemID);
elem.innerHTML += text;
}
</script>
<input type="button" value="Insert some text" onclick="insertText('content', 'text');">
to funguje dobre. Ale potom som skusil pridat volbu select.
<script>
function myFunction() {
var x = document.getElementById("Select").selectedIndex;
alert(document.getElementsByTagName("option")[x].value);
}
</script>
<select id="Select">
<option value="a">A</option>
<option value="o">O</option>
<option value="p">P</option>
<option value="b">B</option>
</select>
A teraz neviem ako dynamicky previest ten select za text v inpute .