asp.net mvc - javascript code from DB -


i have field in database contain big javascript code. how can add code view ?

 $(document).ready(function() {    // javascript code db in raphaelobject property    "@model.raphaelobject";   });    

thanks.

try @html.raw(model.raphaelobject)


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -