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:
- Inbox (index) - List of Items (list of mails)
- Inbox (show) Item Viewer (1 mail)
- 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