Prabin
unread,Mar 7, 2012, 10:31:07 AM3/7/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KnockoutJS
I'm pretty new to KnockoutJS and I love what I've seen so far.
Currently, when an observable property of the View Model is bound to
the text property of the text box (input type=text), the ViewModel
gets updated only on the blur event of the textbox. Is there a way to
update the View Model on the change event of the textbox? I tried
creating a custom binding handler on wiring up the change event
handler on the text box in the "init", but it somehow did not work. Is
this the correct to achieve this goal? Or is there an easier way?
Thanks,
Prabin