Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6207939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:43:15+00:00 2026-05-24T05:43:15+00:00

I inherited an ancient codebase that includes pages with <script type=text/jscript> — yes, my

  • 0

I inherited an ancient codebase that includes pages with <script type="text/jscript"> — yes, my life really does suck that much. The script appears to do nothing in modern, decent browsers (FF and Chrome, for a start) and I’m wondering if the stated script type is causing it to be ignored. I spent some time trying to figure out what’s going on, and I see things like

As explained by JavaScript guru Douglas Crockford in his talk entitled The JavaScript Programming Language on YUI Theater, “[Microsoft] did not want to deal with Sun about the trademark issue, and so they called their implementation JScript. A lot of people think that JScript and JavaScript are different but similar languages. That’s not the case. They are just different names for the same language, and the reason the names are different was to get around trademark issues.”

on Wikipedia. So Javascript == JScript? But then, I see conflicting information, like this answer which seems to suggest that script that’s declared as JScript will only run in IE.

So: can I just change the type tag and everything will work fine? Is there a simple process for conversion? If not, I may just scrap the whole thing and start over.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T05:43:16+00:00Added an answer on May 24, 2026 at 5:43 am

    So Javascript == JScript?

    JScript is what Microsoft calls JavaScript

    But then, I see conflicting information, like this answer which seems to suggest that script that’s declared as JScript will only run in IE.

    That doesn’t conflict. It just means that other browsers don’t recognise the mime type.

    Browsers will ignore script elements with a type they do not recognise. text/jscript is non-standard and most browsers don’t recognise it (Internet Explorer considers it an alias for text/javascript).

    can I just change the type tag and everything will work fine?

    Probably. The script might depend on other proprietary Microsoft—isms (such as document.all) or other non-standard behaviour (automatic id attribute to JS global conversion or treating CSS lengths that are missing a unit as pixels) though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I inherited a shell-script application that is a combination of kshell scripts, awk, and
I inherited a script running on Windows Server 2003 that I need to port
I inherited a web site project that includes mootools.js (about 40k) in most of
I inherited an environment that has a compiled perl script on Unix. Is it
I inherited a project that uses CoreData for a certain type of data storage.
I inherited a project that includes the following crazy JavaScript. I assume this is
Inherited properties and MetadataType does not seem to work with client side validation in
I inherited a database built with the idea that composite keys are much more
I inherited a project that uses SQL Server 200x, wherein a column that stores
I inherited MYSQL database that has lots of tables with data like CREATE TABLE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.