JSSTag.apply (Property)

A special JSS supporting property that holds a reference to a callback function.

Availability:

JavaScript - 1.2
Netscape - 4.0
Deprecated
Property/method value type:Function object
JavaScript syntax:NmyTags.anItem.apply = aHandler
Argument list:aHandlerA JavaScript function to call when setting the object's style
anItemA tag name such as P or B or H1

This is a mechanism that allows the style engine in Netscape 4.0 to call for help when things get too complicated. Basically it calls the handler when an object is created and that handler sets the properties of the receiving object. There is an implied this on the front of any property names that are assigned with new values.

Warnings:

See also:JavaScript Style Sheets