Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


About outdated and possibly deprecated JS info...

About outdated and possibly deprecated JS info...

About outdated and possibly deprecated JS info...

I'm new to JS, and want to make the best possible use of my scarce time. Hence I am trying to avoid learning now the wrong info that could also confuse me or misguide me.
I found this PDF tutorial from Tutorials Point, for the most part it seems like a great tutorial to start with/from. However, given that Macromedia Homesite 5 (2001) is mentioned, I am guessing this could be outdated info.

Also, in the beginning of the tutorial, they advise to ad the type and language to the script tag. I had just read from SoloLearn that those 2 are presently no longer needed, as they are both pretty much implied in every web browser. Again, another point that would hint me to suspect that more info ahead will be/could be out dated.
Am I better off using a more up to date info source, or it won't matter much? Maybe it's still well worth using it?

RE: About outdated and possibly deprecated JS info...

Looking through it quickly you can probably learn quite a bit excluding chapter 3 and up until chapter 23.

Everything in between is pretty much basic JS which still applies fine today

The JS tag is today and in my view, up to the developer. I add the type always. But you can omit that without any problems in all modern browsers. It was originally intended to discriminate between VBscript and Javascript. VBscript is all but dead now so... you can probably do what you feel more comfortable with.

If you want a more modern JS tutorial you can follow w3schools again for the more basic stuff. https://www.w3schools.com/js/js_intro.asp

More importantly to learn today is Javascripts interaction with the DOM, and the HTML object methods and properties and how JS can act upon them.

Also important note, stay away from document.write(), except for the most basic things. Once you are dealing with full websites, document.write is just not something you want to use. Use the innerHTML property of HTML objects, or the createElement and appendChild methods instead to create a new elements.

Phil AKA Vacunita
OS-ception: Running Linux on a Virtual Machine in Windows which itself is running in a Virtual Machine on Mac OSx.

Web & Tech

RE: About outdated and possibly deprecated JS info...

This is great advise!
Thanks a lot vacunita :)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close