![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
16/03/2016, 12:57
|
| | Fecha de Ingreso: agosto-2015 Ubicación: DF
Mensajes: 26
Antigüedad: 9 años, 5 meses Puntos: 0 | |
Respuesta: consumir web service $.ajax({
type: 'POST',
url: '/MyWebService.asmx/HolaServicio',
data: "{'Usuario':'" + "Roy Cruz" + "'}",
contentType: 'application/json; utf-8',
dataType: 'json',
success: function (data) {
if (data.d != null) {
alert(data.d);
}
},
error: function (jqXHR, textStatus, errorThrown) {
}
});
Usa esto en el evento que vayas a utilizar click change blur con jquery |