Monday, 15 July 2013

reactjs - How get the value from a select in flux -


I have the following code on my rendering function using the jflux framework. Can give an idea.

  render: function (compiled) {newCondominium: {province: '}}, returns compile (& lt; select name = "province condominium" id = "selProvince" $$ - value = "NewCondominium province" class = "form-control"> option disabled = "true"> gt; select - & lt; / option & gt; & lt; option & gt; provincia 1 & lt; / option & gt; ; & Lt; Option & gt; Provinicia 2 & lt; / option & gt; & lt; Option & gt; Province 3 & lt; / Options & gt;);;  

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


No comments:

Post a Comment