Forums Register Login

Java vs. Javascript

+Pie Number of slices to send: Send
If one knows Java does one inherently Java Script?
+Pie Number of slices to send: Send
Let me rephrase that....

I am learning Java ....is it necessary to learn Java Script or will I inherently know JS by learning Java? ...Is JS a subset of Java?
+Pie Number of slices to send: Send
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
They weren't very bright, but they were very, very big. Ad contrast:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 962 times.
Similar Threads
Help with graphics
an easy js math question
Starting background process
Fractals
how to store details from file in an object
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:32:36.