Re:Knockout: JS library for rich UIs, declarative bindings, ...
by drivebyacct2 on Wednesday October 20, 2010 @11:02AM
(#1811450)
If you want this, you should check out the new data binding in jQuery. It enables it in a cleaner fashion (no JS in HTML attributes) and accomplishes the same goal.
Also, I really like the way that bindings are done.
data-bind="click: foo();"
is so much nicer than
$(':checked').each(function(bar){/* do foo; */}).bind(this);
or whatever it was I was doing in jQuery the other day. I'm probably mixing up my prototype and jquery syntax there. :)