How to get a value of a textarea using markitup in ASP.NET MVC ?
Posted
by VJ
on Stack Overflow
See other posts from Stack Overflow
or by VJ
Published on 2010-06-02T14:50:26Z
Indexed on
2010/06/02
14:53 UTC
Read the original article
Hit count: 496
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.
© Stack Overflow or respective owner