What are the events to be performed in java script?
Java Script allows client side modifications. In simple terms the websites which let you change the look and feel, drag & drop items, have good animations, image sliders, slideshows are more or less being done using java script. Ofcourse other languages and technologies are used but java script is the most commonly used in those scenarios.
JSP is a Java-based technology used specifically in order to help software developers create dynamic web pages; Java-Script is based on Java, but was created in order to allow non-programmers the ability to work with it easily. JSP must be compiled in Java byte-code in order to function properly; Java-Script is a Java language of a different dialect, and does not need to be directly translated into byte-code
You can write java script code on any platform be it mac, linux, solaris or windows. All you need is a mac version of notepad, some html page where you insert your java script code and a web browser where you view the html page. All major browsers support java script coding and all you need to do is enable the Java Script support in browsers if it is not enabled already.