Setting variables in JavaScript using JavaScript string encode

Use the @Ajax.JavaScriptStringEncode to encode the input.

<script type=”text/javascript”>
$(function () {
var message = ‘Hello @Ajax.JavaScriptStringEncode(ViewBag.Username)’;
$(“#message”).html(message).show(‘slow’);
});
</script>

Comments (1) -

5/28/2013 4:32:26 PM #

kredyty na dowod

You really make it seem so easy with your presentation but I find this matter to be really something which I think I would never understand. It seems too complicated and very broad for me. I&amp;amp;#39;m looking forward for your next post, I will try to get the hang of it!

Feel free to surf to my web-site  kredyty na dowod - http://szybkiechwilowkionlineprzezinternet.pl

kredyty na dowod