jQuery DataLink - Does DataLink solve my use case?

Posted by AnApprentice on Stack Overflow See other posts from Stack Overflow or by AnApprentice
Published on 2010-12-22T19:50:32Z Indexed on 2010/12/22 19:54 UTC
Read the original article Hit count: 239

Hello, I recently heard of the jQuery datalink plugin and wondered if I should be using if for the following:

I have a an inbox in my app that consists of the following:

  1. Inbox (index) - List of Items (list of mails)
  2. Inbox (show) Item Viewer (1 mail)
  3. Inbox Unread Counter

The challenge I'm having now is a user can mark a mail as read/unread in either view which makes keeping the counter accurate challenging. Can datalink help with this? If so how?

Also, I read that datalink requires forms is that true? Or can I bind the links to anything like 0 and anytime a mailitem changes from read to unread it would automatically update?

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about databinding