Validation on click Submit

Validation on click Submit

I have two selection and one input box on click submit button I want to check if selctor1 value is none then alert some thing. If selctor2 value is none then alert some thing and if input box is empty  then alert some thing and stop submit or else submit.how can I do this?
Can any one help me with this please?
Thanks,