Inserts a new hypertext link at the current input position.
<void> HypertextLinkCollection.add(<string> text, <string> target, [<RequestHypertextLinkCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
text | Specifies the visible text of the hypertext link. |
target | Specifies a string specifying to where the hypertext link points. |
callback | Optional. Receives the added document link or null if no link could be added. |
error |
Optional. Is called when the operation failed with an error. |