I have a scenario in which I make various Ajax calls to a WebApi and with the return I load controls from an application.
I would like to create a single method to call the API, which would receive a parameter with the link, for example 'api...
I'm trying to update an image with HTML, Ajax and PHP.
HTML and Ajax are configured correctly, as far as I know. But I think the problem is being in php. because it works but it returns me error. my php.
<?php
require_once('conexao.p...
I'm not able to make Ajax show the result in the corresponding div, so I'm doing $('.resultado_debito'+formID).html(data); , but it does not work.
Code:
$(document).ready(function() {
$("form").submit(function() {
// Getting the f...
I tried the following code but it does not work
function getCategoria(id){
var categoria;
$.ajax({
url: "../control/anuncio/index.php",
data:{
method: 'get_categoria',...
I am not able to list the data of a Json in a Select
My Jquery code looks like this:
$("#cidades").change(function () {
var options_escolas = '';
var cidade = $("#cidades").val();
$.ajax({ url: 'api_es...
Good afternoon, I need to update components that are within UpdatePanel page aspx after insertion via Ajax . The Ajax executes a function in code-behind in C# , and reloading of the entire page happens....
Good afternoon. I need to include a button on my edit form so that I can delete the user's photo. I would like to do with jquey and ajax, I'm still learning. I am using mysql which stores only the path of the photo, the file is in a folder on th...
When I do this, return is a parsererror.
$.ajax({
type: "GET",
url: "servicos.php",
data: "id=1",
dataType: 'json', ==========================> Essa linha bem aqui
success: function(retorno,status){
// retorno = JSON...