There is a select, with the help of jquery, by clicking on one of the option points, I add another select to the document. I do so.
$('#select-currence').append( '<select class="information-select" id="information-select- currence">' + '<option value="0">Выберите валюту</option>' + '<option value="1">€</option>' + '<option value="2">₽</option>' + '</select>' ); Is it possible now to add one more select to the document by clicking on one of the options? It does not work for me in the same way.
Here I tried to display the value simply by clicking on the option
$('#information-select-currence').on('change', function(e){ var a = e.target.value; console.log(a); });