Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getprueba() {
- var folio = $('#numerofolio').val();
- $.ajax({
- type: "GET",
- url: "/User/Prueba2?tick=" + folio,
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- success: function (result) {
- if (result == "null") {
- alert("no está funcionando");
- }
- for (var i = 0; i < result.length; i++) {
- var nombre = result[i].ruta.split("/");
- var separe = nombre[8];
- }
- },
- error: function (err) {
- alert("error" + err);
- }
- });
- }
- </script>
- <a asp-controller="User" asp-action="Descarga" asp-route-ruta=""+result[i].ruta +"">" + separe + "</a>"
Add Comment
Please, Sign In to add comment