How to get all value of checkbox form?

hello I want to get form with the checkbox and now i don’t know how to get the value of some checked checkbox. I need to get all checked checkbox item when i click submit button.
Can someone help me to give some example?

thx before…