Javascript version 1.8

Posted on 2013-06-24
Last Modified: 2013-07-05
Is it possible to identify what version the javascript is being programmed by looking at the web page source code?  I would think that knowing of a certain construct used in version 1.8 and that construct being used on that web page, that one could determine what version was being used.
Is there an easier way?

How much information can be gather from a statement like this;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">

I see that the DTD is xhtml, but is there more?
Question by:chima
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

by:Manuel Marienne-Duchêne
ID: 39273890
may be you want to talk Jquery a librairy for javascript :
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 125 total points
ID: 39273909
You can see the version of the jQuery library in the source code of a page.  But javascript itself is part of the browser and is not generally available separately and neither is the version of it.  Current versions of javascript in browsers are based on ECMAscript.  More info here:
LVL 58

Assisted Solution

by:Julian Hansen
Julian Hansen earned 75 total points
ID: 39273916
I am assuming you mean JQuery not Javascript

You can check the version like so
var ver = $().jquery;
alert (ver);

Open in new window

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

LVL 35

Assisted Solution

by:Robert Schutt
Robert Schutt earned 150 total points
ID: 39274071
Assuming you do mean javascript, seems the way to do it is to include the version in the script tag so it's clear for people (and browsers), as shown here: 

I'm not sure what is supposed to happen when a browser doesn't support the new version, probably ignore the entire script block.

Accepted Solution

Sar1973 earned 150 total points
ID: 39274274
Are you looking for navigator properties? See
LVL 58

Assisted Solution

by:Julian Hansen
Julian Hansen earned 75 total points
ID: 39274420
Having re-read your question
s it possible to identify what version the javascript is being programmed by looking at the web page source code?
Are you asking what version the author decided to use or what version is supported by the browser?
From the rest of your question it seems you are trying to work out something about the page and how it was developed.

Maybe tell us what it is you are trying to do - why you need this information - and we might be better able to help you.

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System ( introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question