Tuesday, September 1, 2015

Knockout Binding

Textbox Binding

<input type="text" id ="txtFirstName" data-bind="value: Employee.FirstName"/>

Textbox Binding

<input type="radio" id="rdoMale" data-bind="checked: Employee.Gender" name="gender" value="0" />

<input type="radio" id="rdoMale" data-bind="checked: Employee.Gender" name="gender" value="1" />

No comments:

Post a Comment