XF 2.2 data-xf on buttons

Robert9

Well-known member
I have seen now two ways for buttons to change:

if something, show button
else show button with disabled link
=> Needs a reload

Also i have seen
data-xf-click="switch" data-sk-something1="1" data-sk-something2="2"
=> Needs no reload

And now my question: How can i make a switch without a reload and change to a disabled button?
 
Back
Top Bottom