Is there a way to data bind the src
attribute of an iframe
with knockout to an item in my modelView? This...
<iframe data-bind="src: BioLink" width="100%" height="300">
<p>Your browser does not support iframes.</p>
</iframe>
...didn't do the trick.
Use the attr
binding, like this:
<iframe data-bind="attr: {src: BioLink}" width="100%" height="300">
<p>Your browser does not support iframes.</p>
</iframe>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With