New to Kendo UI for jQueryStart a free 30-day trial

HtmlEncode

methods

Encodes HTML characters to entities.

Parameters:valueString

The string that needs to be HTML encoded.

Returns:String

The encoded string.

<script>
var value = kendo.htmlEncode("<span>Hello</span>");
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(value);
</script>
Not finding the help you need?
Contact Support