w*s 发帖数: 7227 | 1 How can Angularjs checkbox retain current value in different browser window ?
This might not be possible for angularjs, but say i have a check box page in
browser in the 1st pc, i checked some check boxes and clicked submit button.
Now in 2nd pc, i open this page again, what's the best way that the options
i just checked can show up as well ?
Certainly i can query back end for status, but any better ways ? | h******b 发帖数: 6055 | 2 同一个电脑不同tab可以看看ngstorage插件搞本地储存。
不同电脑肯定需要后台啊。除非你hack Chrome用户的本地储存,但不同browser不同用
户肯定不行啊。
随便加个parse这样的后台和用户管理一个晚上吧。免费注册免费使用。 | l**********n 发帖数: 8443 | 3 localStorage, sessionStorage, etc.
window ?
in
button.
options
【在 w*s 的大作中提到】 : How can Angularjs checkbox retain current value in different browser window ? : This might not be possible for angularjs, but say i have a check box page in : browser in the 1st pc, i checked some check boxes and clicked submit button. : Now in 2nd pc, i open this page again, what's the best way that the options : i just checked can show up as well ? : Certainly i can query back end for status, but any better ways ?
| c******n 发帖数: 16666 | 4 second pc
【在 l**********n 的大作中提到】 : localStorage, sessionStorage, etc. : : window ? : in : button. : options
| c********1 发帖数: 5269 | 5 Save state in back end is the correct solution.
【在 c******n 的大作中提到】 : second pc
| N***m 发帖数: 4460 | 6 try BrowserSync or come up with your own implementation using socket.io
window ?
in
button.
options
【在 w*s 的大作中提到】 : How can Angularjs checkbox retain current value in different browser window ? : This might not be possible for angularjs, but say i have a check box page in : browser in the 1st pc, i checked some check boxes and clicked submit button. : Now in 2nd pc, i open this page again, what's the best way that the options : i just checked can show up as well ? : Certainly i can query back end for status, but any better ways ?
|
|