condition for button click
Hi,
I am new to APEX
How do I check for the condition when button pressed. Suppose I have a page which is having a button and upon my button click only those page items should appear. If don't click the button those page items shouldn't be visible.
What condition should I place on the page items to check for the button clicked or not.
Thanks in advance.