I have a Javascript function below, which takes a label defined in resx.file... Label is something like: Success from customer's price list.
enter code here: $(function () {
systemadminhourlyrateindex().init(
'@Html.Raw(Label.SuccessDeleteIsDelegated)' //At this point label is as origin.
);
});
But when I try to use it in JS function, it dose not escape the single quote from customer's correctly. Instead it adds wierd chars something into the word customers. So it becomes something like customer---s where --- is & # 3 9; Maybe this is ascii for single quote?
', but some unicode character that looks like a single-quote?