How to get a value of a textarea using markitup in ASP.NET MVC ?
- by VJ
I want to get the value of the text area that is basically the free Markitup rich text editor
<textarea id="markItUp"></textarea>
and store it in my variable so how can i do this in asp.net mvc. Also is there any way I can use the HtmlHelper to use the markitup editor, since I can easily do something like this -
<%= Html.TextAreaFor((model => model.Description)) %>
I want to just get the value in the markitup editor and store in my sql server db in a string variable.
Also further I would like to get these text which I assume will be storing html tags and display or render it with the html tags...I know HttpUtility.HttpDecode() method but are there any more suggestions on this...Thanks.