blob.blobLink() (Method)

This method creates an <A> element that links to the BLOB data.

Availability:

JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Anchor object
JavaScript syntax:NESmyBlob.blobLink(aMimeType, aString)
Argument list:aStringThe text inside the link
aMimeTypeThe MIME type of the document being displayed

The data is pulled out of the database according to the specified parameters. The blob can then be displayed as if it were a document in an <A> tag.

This method generates the necessary URL to place into a document that links to it. If the user clicks on the link, the contents of the BLOb are then returned in response to that request.

See also:Cursor.blobLink(), blob object, MIME types