Differnet Types of Forms And Events using Javascript