posted 20 years ago
Hi Moritz,
JavaScript is not a subset of Java.
It is different with Java although some its keywords are same with Java's keywords.
You usually use JavaScript for developing web application.
JavaScript is used to validate the user's entry before its value send to the server.
Imagine that you have a screen about Registration. You have to fill birth date on that. Before your birth date is sent to server, you have JavaScript's function to validate whether your input is in correct format of date or not. If you enter invalid date format, its function will alert you and not send your input to server.
Hope this help.. and correct me if I am wrong...
thanks
daniel