Hello,
Does anyone have an integration example using ASP.Net 2.0 +
I can't get it work with such platform.
Regards
Forum closed. New forum available at http://community.wymeditor.org/
<head>
<script type="text/javascript" src="/Scripts/jquery.min.js"></script>
<script type="text/javascript" src="/Scripts/wymeditor/jquery.wymeditor.min.js"></script>
</head>
<script type="text/javascript">
jQuery(document).ready(function()
{
jQuery('#<%= myTextarea.ClientID %>').wymeditor();
});
</script>
<textarea runat="server" id="myTextarea" name="myTextarea" ></textarea>
<asp:Button runat="server" ID="myButton" CssClass="wymupdate" OnClick="myButton_Click" Text="Save" />
<asp:Label runat="server" ID="Result" />
protected void myButton_Click(object sender, EventArgs e)
{
Result.Text = myTextarea.Value;
}
<script src="/wymeditor/jquery.wymeditor.min.js" type="text/javascript"></script>
<script type="/text/javascript" src="jquery/jquery.js"></script>
<script type="text/javascript">
jQuery(document).ready(function()
{
jQuery('#<%= myTextarea.ClientID %>').wymeditor();
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<textarea runat="server" id="myTextarea" name="myTextarea" ></textarea>
<asp:Button runat="server" ID="myButton" CssClass="wymupdate" OnClick="myButton_Click" Text="Save" />
<asp:Label runat="server" ID="Result" />
</div>
</form>
Users browsing this forum: No registered users and 1 guest