Programming is done into two types. But most of the people confused with this.
What is server side and client side programming?
here i am clearing this doubts.
Server side scripting can hold events after post back of the page and client side scripting is to authenticate the page ahead of post back.