Harshal Vadnere

Harshal Vadnere

  • NA
  • 122
  • 1.3k

is it possible use the value binding on a select that contai

May 8 2013 7:29 AM

i did  project on ASP.Net MVC3, C#,MS Sql Server 2008


is it possible use the value binding on a select that contains static options like this?

<select data-bind="value:">
   <option value="a">a</option>
   <option value="b">b</option>
   <option value="c">c</option> 
</select>

Actually the bind is writing the value, if I select an option the value will change, but I am not able to read it when the select is initialized. When the page is loaded the first option is always setted.