Re:In Praise of Buttons
by danaris on Thursday February 01, 2024 @12:19PM
(#39218425)
My rule of thumb can be described in two ways:
1) Can you return things to exactly the state they were before simply by hitting the browser's "back" button once? Then use a link. Otherwise use a button.
2) Will this navigation have side effects (eg, change values in the DB)? If so, then use a button. Otherwise, use a link.
1) Can you return things to exactly the state they were before simply by hitting the browser's "back" button once? Then use a link. Otherwise use a button.
2) Will this navigation have side effects (eg, change values in the DB)? If so, then use a button. Otherwise, use a link.