阅读背景:

Django:按下按钮后如何使按钮消失/禁用?

来源:互联网 

I want to create a like/dislike button system in Django, but don’t know how to do the final part of it, namely, making the button disappear/change to the compliment of the button that was pushed. Basically, I want to have a "like" button on my template and once it is pushed, then I want the like button to disappear/switch to an “unlike” button so that the user can undo their like if they wish, similar to facebook. How can I go about doing this? I want to create a like/dislike button system i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: