Home > Web Front-end > HTML Tutorial > [转]OBOUT ASP.NET HTML Editor

[转]OBOUT ASP.NET HTML Editor

WBOY
Release: 2016-06-24 11:35:49
Original
983 people have browsed it

本文转自:http://www.obout.com/editor_new/sample_InsertHTML.aspx

Example demonstrates how to access HTML Editor's content at current selection/caret position from "outside" component.

Example code

<script type="text/JavaScript">function Insert(){ oboutGetEditor('editor').InsertHTML("<a href='mailto://support@obout.com'>Obout support</a>");}</script> <input type="button" onclick="Insert();" value="Insert Obout support link"/>  <ed:Editor id="editor" runat="server" /> 
Copy after login

 

具体实例效果见 http://www.obout.com/editor_new/sample_InsertHTML.aspx

 

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template