4 ms·
WOW! :) Automatic refresh? I can't tell you the number of times I've had to abandon fancy Ajax because of the need to refresh the DOM (checkboxes that were
by AlexC04 16y ago
WOW! :) Automatic refresh? I can't tell you the number of times I've had to abandon fancy Ajax because of the need to refresh the DOM (checkboxes that were 'deleted' still existed in the form submission... yes I'm sure there's a way to do it, but there's a balance between time and ... oh nevermind)
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. :)
- drivebyacct2 16y agoIf 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.