Sponsored Links
JavaScript Tutorials
- JavaScript Browser Objects Part 2
- JavaScript Frame object
- JavaScript Form Object
- JavaScript FileUpload Object
- JavaScript Event Object Properties and Methods
- JavaScript Event Object
- JavaScript Elements and Embed Objects
- JavaScript Applet Objects
- JavaScript Browser Objects
- JavaScript Object Oriented Features
- JavaScript Window Object Open Method Part 2
- JavaScript Window Object Open Method
- JavaScript Window Object Timeout Methods
- JavaScript Location Object
- JavaScript Location Object Properties
- JavaScript History Object Properties and Methods
- JavaScript Document Object Methods Part II
- JavaScript Document Object Methods Part I
- JavaScript Document Object Properties
- JavaScript Document Object
Tutorials
JavaScriptJavaScript Applet Objects
JavaScript Applet Objects
In this JavaScript tutorial, you will learn about applet object, properties and methods of applet object, Methods of applet object, area object, Properties of area object viz. hash, host, hostname, href, pathname, port, protocol, search and target.
applet object:
The applet object is used in JavaScript to access a Java applet. User can make use of the applets array to access all the applets contained in a document. The applets array property gives access to all the applets associated with the document. The applet object is a browser object that is a property of the document object, used for enabling code of JavaScript to access java variables and methods.
Properties of applet object:
The applet object of JavaScript has name property associated with it. This property is used to access the name attribute associated with the <applet> tag.
Methods of applet object:
There are no methods or events associated with the applet object of JavaScript.
area object:
The area object is a browser object in JavaScript used to access an area from the client side. The area object is actually a property of the document object. The area object has similar attributes to that of the link object.
Properties of area object:
- hash
- host
- hostname
- href
- pathname
- port
- protocol
- search
- target
hash:
hash property of area object denotes the URL anchor part including the leading hash mark if one exists.
host:
host property of area object denotes the URL hostname and port.
hostname:
hostname property of area object denotes the URL hostname section.
href:
href property of area object denotes the URL.
pathname:
As the name suggests, pathname property of area object denotes the URL pathname section.
port:
port property of area object denotes the URL port section.
protocol:
protocol property of area object denotes the URL protocol section including the colon after the protocol name.
search:
search property of area object denotes the URL query string section.
target:
target property of area object denotes the URL link's target name.
Comments
Sponsored Links
