特别是JavaScript和JScript是不是一样的?
解决方案 »
- JS在ie下正常 火狐下不显示 该怎么改
- ext combobox 加载完后台数据后 再赋值怎么弄
- php学习
- 谁能推荐个JAVASCRIPT视频教程
- js函数怎么不管用呢
- 一个页面上有多个连接,点击后出现居中弹窗,每个弹窗页面不同,多个连接均可点击,谢谢100分求个,来学习学习
- 如何用梅花树(带checkbox)构造自己所需要的树啊?我不懂怎么用这个梅花树控件?
- 临走前散分讨论
- 确山删除,点击删除怎么还提交啊?
- 如何在文本框当前标处,添加文字。createRange()的使用?
- 请教JS中document.getElementById(nowClickId).style.backgroundColor中问题
- 我发现给dom对象设置id,name的时候,设置后,alert()显示都是对的,但是我用dom查看器看的时候,只有id改了,name还是没有变,是不是dom里的nam
javascript是客户端脚本
jScript也是客户端脚本 但这个是微软模仿javascript开发的 很类似javascript但不是
JavaScript与JScript是两个客户端语言,只是所属公司不同,一般认为JScript含所有基本JavaScript基本功能,但只是IE支持它。JavaScript则被几乎所有浏览器支持。
Host Application
1.0
2.0
3.0
4.0
5.0
5.1
5.5
5.6
.NET
Microsoft Internet Explorer 3.0
x
Microsoft Internet Information Server 3.0
x
Microsoft Internet Explorer 4.0
x
Microsoft Internet Information Server 4.0
x
Microsoft Internet Explorer 5.0
x
Microsoft Internet Explorer 5.01
x
Microsoft Windows 2000
x
Microsoft Internet Explorer 5.5
x
Microsoft Windows Millennium Edition
x
Microsoft Internet Explorer 6.0
x
Microsoft Windows XP
x
Microsoft Windows Server 2003
x
Microsoft .NET Framework 1.0
x
如前所述,既然JavaScript與Jscript都源自於相同的ECMA-262標準,可以想見其中的共同點必定許多。 在筆者的觀察中,從功能面來看,JavaScript可視為Jscript的子集合,因為Jscript除了包含JavaScript所有的特性與物件之外,更引進run-time features,包含以下幾類:
Category
Feature/Keyword
Collections
Drives
Files
Folders
Data Storage
Dictionary
Dictionary
Add
Exists
Items, Keys
Remove, RemoveAll
Count
Item, Key
File System
Drive
File
FileSystemObject
Folder
TextStream
FileSystemObject
BuildPath
CopyFile, CopyFolder
CreateFolder, CreateTextFile
DeleteFile, DeleteFolder
DriveExists, FileExists, FolderExists
GetAbsolutePathName, GetBaseName
GetDrive, GetDriveName
GetFile, GetExtensionName GetFileName
GetFolder, GetParentFolderName
GetSpecialFolder
GetTempName
MoveFile, MoveFolder
OpenTextFile
Drives
Drive, Drives
AvailableSpace
Count
DriveLetter
DriveType
FileSystem
FreeSpace
IsReady
Item
RootFolder
SerialNumber
ShareName
TotalSize
VolumeName
File, Files
Folder, Folders
Add
Attributes
Copy, Delete, Move
Count
OpenAsTextStream
DateCreated, DateLastAccessed,
DateLastModified
Drive
Item
ParentFolder
Name, Path
ShortName, ShortPath
Size
TextStream
Close
Read, ReadAll, ReadLine
Skip, SkipLine
Write, WriteBlankLines, WriteLine
AtEndOfLine, AtEndOfStream
Column, Line
因此,Jscript除了不等於JavaScript之外,他代表的是更為廣泛,也更為成熟的手稿式網頁功能。