Let say that we have an object
class Entity
{
public string ID {get; set;}
public string Name {get; set;}
}
I want to bind properti
For those looking, I made this javascript plugin. It does data binding very close to what WPF does and is easy to use. It has attached documentation in a .txt file
https://github.com/jdemeuse1204/ObjectDataBinding
Here is an example of what one of my bindings looks like
To activate you call
$("#yourelementname").observe(yourobject, 'yourbindingname');
To get the object back for saving or other operations
var object = $("#yourelementname").getObserveObject('yourbindingname');