I have some read-only data I want to display in a View, but it needs to be manipulated by jQuery in the browser.
I could use Html.DisplayTextFor but then I can’t manipulate it (at least, I don’t think I can.) Oh, and I also want to be able to style this.
What’s the best way of doing this?
You could just output it in a div or span, maybe write an extension method on HtmlHelper to do this (untested):