Questions tagged as 'ajax'

1
answer

Calling AJAX / jquery in the middle of PHP code

I have a PHP code structure and, within it, I want to automatically call a $.get AJAX to another PHP page. Example: <?php $cod = 1; $mod = 2; $text = 3; como chamar um ajax automaticamente aqui, sem ter que clicar em botão algum,...
asked by 26.10.2017 / 01:07
1
answer

Assign ajax query to a variable

$(document).ready(function(){ $('#tabela').empty(); //Limpando a tabela $.ajax({ type:'post', //Definimos o método HTTP usado dataType: 'json', //Definimos o tipo de retorno url: 'getDados.php',//Definindo o arqui...
asked by 12.09.2018 / 02:16
2
answers

How to use a CSS by the url of the site?

I would like to know if I have a different CSS for a "Java" web system without having to include it in the source code? I have a new CSS file that I resized the buttons and spaces and need to use it in this web application, I need to point th...
asked by 25.06.2015 / 14:18
1
answer

Stay testing until a variable is created in php

I am sending an ajax to a table, but this table can only be created after receiving the value, however it is being created before in blank, how can I make a check for the table to be generated only after receiving the ajax value , stay in a loop...
asked by 06.12.2016 / 12:45
1
answer

How to check if the login exists in the bank by ajax?

I made a login system with ajax and php in it I pass the login and the password that are in the bank but I wanted to know what is wrong with my code because whenever I try to login to the site with a valid login it falls on my false status and i...
asked by 16.12.2015 / 00:02
3
answers

Make a request on the server with 2 parameters

Well, I'm making a person use a "range" and decide a value, so the person changes the range, a search is being done in the database about a game and its value, use ajax with php to This, however, is giving you an error, can you help me?...
asked by 26.11.2018 / 14:42
1
answer

Ajax Undefined index

Hello, could anyone help me please? I've been to several sites trying to resolve this problem. The js code works perfectly, and $("#links").load( "buscas.php" ); loads, but the PHP code always gives the error:    Notice: Undefined i...
asked by 31.07.2016 / 22:15
1
answer

Query in two tables simultaneously with two different parameters [closed]

Hello, good evening! I'm creating a schedule of events by time, in different places. So I need you to show the locations before the event is scheduled, after the places available, I need to display the available times. I have tried to sear...
asked by 29.12.2016 / 00:13
0
answers

Request item is not returning in function in ajax

I have a problem in my application where I have no idea how to solve it, much less the reason for the problem It turns out that an index specifically is not returning in my request within the jquery function $.ajax({ url: "http://",...
asked by 16.03.2015 / 18:56