I have an ember app where I show a bootstrap popover. From that popover, there is a little form that should update the value of a textarea which is bound to a model. If I type in the textarea, the binding to the model works fine. However, I if I use jquery (like below) to update the value of the text area, the ember binding will not see the change in the model. Is this even possible?
$("#myBoundTextArea").val("blah");
You can trigger the change, using jquery, which also will notify ember binding.
This is done as such
$("#myBoundTextArea").trigger("change");
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