I have a few divs using jQuery that are resizeable. What I want to do is assign the height of the div to a knockout property somehow so when the height is changed the value is saved in knockout model. I thought about using the ‘css’ or ‘attr’ binding to do this, any thoughts?
Share
In your bindings you could use jQuery events, for example:
I’ve adjusted your example.
Please, try EXAMPLE