Questions tagged as 'ajax'

2
answers

Help with HTML form

Sorry for the title of the post, is that I'm not thinking about something to specify what I'm wanting (feel free to edit). It is as follows: I have an html form and a button: <form id="formflor" method="post"> <input type="text"...
asked by 22.01.2018 / 22:32
2
answers

AJAX javascript, PHP post does not work [closed]

Hello, I have a javaScript code to send data using AJAX to a PHP page, my problem is that the POST is going empty for the page I am calling. This only happens when I call the JavaScript (AJAX) function that does the request, when I call the PHP...
asked by 15.04.2017 / 15:57
1
answer

Capture Coordinates by GET in api Google Maps

In this script I just need javascript to get the coordinates via get //Algo parecido.... $lato = $_GET['lato']; $longo = $_GET['longo']; $lato = $_GET['latd']; $longd = $_GET['longd']; <script> var origem = { lat:...
asked by 10.05.2016 / 23:20
2
answers

Error fetching page data with AJAX

I'm trying to pull content through ajax but I'm not getting it, nothing appears in RecebeAjax. HTML: <a href="#portfolioModal54" class="portfolio-link" data-toggle="modal" id="executaAjax" value="Executa ajax"> <img src="<?...
asked by 14.01.2016 / 20:46
1
answer

How to confirm if user exists with those "green ticks"

They say it's with javascript, but I searched the net and did not think anything related ... Example of how I want it to stay: Currently I do with Alerts, but I would like validation to leave a green light like that of the image (see ri...
asked by 03.04.2016 / 21:02
1
answer

FadeIn only in elements loaded by Ajax with append

I have a div that contains 12 jobs and a button down (see more) that loads 12 more jobs, the problem is that if I try to $('#wrapperTrabalhos').append(data).hide().fadeIn(); all div ( #wrapperTrabalhos ) does fadeIn, the hide()...
asked by 14.11.2014 / 17:07
1
answer

PHP code is not recognized on the page

I made a menu with Ajax and it dynamically changes the contents, so far so good, but the problem is that when I insert a PHP code on the page it does not recognize the code and it shows the writings, it appears this instead of executing the code...
asked by 20.11.2015 / 04:04
2
answers

How to pass another parameter and value with another variable via post?

I need to send a new variable, using jQuery , to the neighborhood.php file, how do I? I have a hidden input that contains the idcl variable that contains client data: <input type="hidden" name="idcl" id="idcl" value="<?php echo...
asked by 10.12.2015 / 10:45
2
answers

JSon is not picking up the data

I'm doing some testing with ajax , and I made a very simple script in php shown below: index.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <...
asked by 05.04.2014 / 04:38
2
answers

Display dialogs when it works

How do I display a Dialog when the script occurs correctly? public function addDatabase($name, $collation) { // Checks whether all fields filled (Prevent future errors) if (!empty($name) AND !empty($collation)) { try {...
asked by 05.04.2015 / 03:43