For images created with the Image constructor, the value of the border property is 0. The following example displays an image and three radio buttons. The user can click the radio buttons to choose which image is displayed. Clicking another button lets the user see the current value of the complete property. Invokes the handler for the specified event.
Parameters event The name of an event for which the specified object has an event handler.
Description For information on handling events, see the Client-Side JavaScript Guide . A string specifying the height of an image in pixels. For images created with the Image constructor, the value of the height property is the actual, not the displayed, height of the image. The following function displays the values of an image's height , width , hspace , and vspace properties. A string specifying a margin in pixels between the left and right edges of an image and the surrounding text.