日期:2014-05-18  浏览次数:20448 次

ASP.NET C#如何获取xheditor编辑器编辑到带图片的内容
我用xheditor现在编辑了一个带图片的新闻内容,我想通过按钮单击把保存到数据库,请问保存源码,源码怎么获得。怎么保存?求代码。。

------解决方案--------------------
xheditor1.value
------解决方案--------------------
C# code
script type="text/javascript" src="jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="xheditor-zh-cn.min.js?v=1.1.1"></script>
<textarea id="content" name="content" class="xheditor" runat="server" rows="12" cols="150" style="width: 70%"></textarea>

$(pageInit); 
function pageInit()
 { 
$('#content').xheditor(true, { tools: 'full' });
}