دنبال کننده ها

۱۳۹۶ بهمن ۱۲, پنجشنبه

javascript - Inline Disabling - Stack Overflow

[ad_1]



I am disabling a button inline using Django conditions



<button 
% if order.return_available == True % disabled="disabled" % endif%
class="class1 class2
% if order.return_available == True % disabled % endif %">


Problem is that when I play around with the Chrome Dev Tools and manually change those inline disables, it removes the disable formatting and triggers the POST for the form and actually updates the database. Will this be the same for when deployed and for the end user?




[ad_2]

لینک منبع