Javascript Conditionally Add An Element Attribute In Knockout Js

Javascript Conditionally Add An Element Attribute In Knockout Js