My antivirus blocking when opening modal, modal is not even displayed right.
Follow the code below:
Click event:
$("#cartoes_click").click(function () {
$('.ModalContent_Cartoes').load("/Payment/_Cartoes_Fisica", function () {
$('#myModal_Cartoes').modal('show');
});
});
Controller:
[HttpGet]
public PartialViewResult _Cartoes_Fisica()
{
return PartialView();
}
PartialView:
Here I have a bit of javascript code, which antivirus blocks:
var teste1 = "Número do cartão inválido";
Or
vat teste2 = "Invalid card number";
With these codes above, Kaspersky blocks modal bootstrap, if I do put string like this: var teste1 = qualquer coisa aqui
, antivirus does not block.
When I click the button to open modal, it gives these messages below:
Does this mean that an antivirus has a reserved word?