0
J'utilise jquery.wysiwyg (https://github.com/akzhan/jwysiwyg) avec MVC2. Comment puis-je obtenir la valeur de textarea?jquery.wysiwyg fonctionne avec mvc2
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<NotificationsViewModel>" %>
<script>
$(document).ready(function(){
$('#Message').wysiwyg();
});
</script>
<% using (Html.BeginForm("ManageNotifications", "Admin", FormMethod.Post))
{ %>
<table class="noborderverticalcenter" style="width:100%;">
<tr>
<td>Message</td>
<td>
<%= Html.TextAreaFor(model => model.Message) %>
</td>
</tr>
</table>
<% } %>