I have a textBox. When I click mybtn if myTxtBox is empty a tooltip appears and give the message which attached to 'data-original-title'. It's working fine but when I add turkish charachters inside text instead of "Some text", these charachters are shown as a question mark.
$("#mybtn").on('click', function (e) {
if ($("#myTxtBox").val() == "") {
MyTooltipCreator("#myTxtBox");
$("#myTxtBox")
.attr('data-original-title', "Some text")
.tooltip('fixTitle')
.tooltip('show');
}
});
The strange thing is when I add my scripts inside my cshtml file it works very well. The problem occurs after I move my scripts into a seperate js file.