1

I have the following code on my render function using jflux framework. So please anybody can give me an idea.

render: function(compile){  
        newCondominium: {province: ''}, 
        return compile(      
    <select name="provinceCondominium" id="selProvince" $$-value="newCondominium.province" class="form-control">
                                    <option disabled="true">--Select--</option>
                                    <option>Provincia 1</option>
                                    <option>Provinicia 2</option>
                                    <option>Provincia 3</option>
    )};

And I want to assign the new selected option to a variable. How can I get the selected option?

0 Answers0