Javascript:
- Worked on two way data structures from the jQuery example here.
- It took a bit to get working, but I eventually figured it out. Basically if you have a textbox or whatever with an attribute called data-bind-123="name" and change the value in it, it will update the name attribute of a User class that has a uid 123 as well. Likewise, if you use console to update the name in the object, it will also update in the textbox.
No comments:
Post a Comment