Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Vendedores() {
- $.ajax({
- type: "POST",
- url: 'http://' + document.getElementById("servidor").value + '/Proformas.aspx/CargaVendedores',
- data: '{pnumero:"0"}',
- contentType: "application/json; charset=utf-8",
- datatype: "json",
- crossDomain: true,
- async: false,
- success: function (resulta) {
- $.each(resulta, function (i, field) {
- //some stuff....
- });
- },
- error: function (resulta) {
- alert("no se pudo cargar los vendedores, revisar conectividad con el servidor");
- },
- });
- }
Add Comment
Please, Sign In to add comment