good afternoon engineers, I need to catch the html code of a servlet to be able to show only fragments of information, I do not pretend to modify any content, much less affect, I just need to show specific information, I attached an example image of how I show the servlet inside an iframe.
this is the link of my page already on the server: link
I tried to trap the html with ajax using this code but it does not throw the code of the image but another, I attach the code:
var valCaptch = $("#captcha").val();
var valPlaca = $("#placa").val();
var valUrl = "http://www2.repuve.gob.mx:8080/ciudadania/servletconsulta"
var valUrlfinal = valUrl + "?" + "placa=" + valPlaca + "&vin=" + "&folio=" + "&nrpv =" + "&captcha=" + valCaptch;
$.ajax({
type: "POST",
cache: false,
url: valUrlfinal,
data: { placa: valPlaca, captcha: valCaptch },
error : errors,
dataType: 'jsonp',
success: success
});
I hope you can help me