Glossary Item Box

PowerWEB TextBox for ASP.NET

pwFormatInsertBookmark Method

Inserts a bookmark (anchor tag) into the current HtmlBox.

[JavaScript]
pwFormatInsertBookmark(pwBookmarkName)

Parameters

pwBookmarkName
The name of the bookmark.

Remarks

This method operates on the current HtmlBox (the HtmlBox that currently has focus). See the MSDN DHTML execCommand method for more information on command identifiers.

Example

[JavaScript] The following example demonstrates using the pwFormatInsertBookmark method to insert an anchor tag.

<script language="javascript">
<input type='button' value='Click here to insert a bookmark' onclick='pwFormatBookmark("mybookmark")'>
</script>

	

In This Section

Assembly Overview
Contains classes that support and enable creation of HTML-editing capable web applications.
Client-Side API
Describes client-side JavaScript functions that are used by PowerWEB TextBox for ASP.NET.

 

 


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.