Questions tagged as 'ajax'

1
answer

Fill table without refresh?

I have a code that works with two dropdowns that automatically update themselves using jQuery, where when selecting one, the other is populated by doing the filter in my database. And just below, I have a table that I want to fill it with the va...
asked by 18.07.2016 / 18:25
0
answers

Generate PDF by Ajax

What I am trying to do is that the user clicking the generate button of a form, generate a .pdf per Ajax request, that is, I have three pages, where Index.php is the form, controller.php is the ajax script where to send th...
asked by 18.07.2016 / 22:14
1
answer

Query $ ajax "GET" showing "undefined"

Good evening, friends! I have no programming experience, thanks for any help. I created a simple query to list the search in a table. <script type="text/javascript"> $(document).ready(function () { $("#btnPesquisarPosto")....
asked by 15.07.2016 / 00:40
1
answer

Parameter passing in URL using JSON + AJAX

I'm studying JavaScript and would like support from you. I have a file that I called getPagamentosMaioresQue.php , this file has the following syntax: <!DOCTYPE html> <html> <head> <title> PHP T...
asked by 26.08.2016 / 05:20
0
answers

Ajax redirects to url

Good morning guys, I'm having a little problem, I guess it's simple, but I can not solve it. Next, I have to upload a user profile photo, the code is working beauty:    JAVASCRIPT $(".change-photograph").change(function (event) {...
asked by 25.08.2016 / 16:10
0
answers

Using ajax to execute a code in php

Hello, I have a problem with how to use ajax to run a code in php, I'm trying to find the problem for hours, but I can not. js code $.ajax({ url: 'deletarOrgs.php', data: { id: $id }, type: 'PO...
asked by 30.06.2016 / 03:55
0
answers

Uploading images by increasing the file size by almost 10x

Good evening dear benefactors programmers. I have a problem, as I described in the title, which is affecting my image uploads. The image increases up to 10 times in size. And I'm not talking about dimension. Ex: Initially, I have any image, l...
asked by 30.06.2016 / 23:01
0
answers

Getting a specific tag in .ofx file

I can read the whole .ofx file with javascript / ajax: var ofxReader = new XMLHttpRequest() || new ActiveXObject('MSXML2.XMLHTTP'); function loadFile() { ofxReader.open('get', 'sample.ofx', true); ofxReader.onreadystatechange = displ...
asked by 26.07.2016 / 04:48
0
answers

Protection in Ajax request with php

I created a page, where I use the post method with Jquery for another, and return some calculations. Trying to protect, I did the following on the page: INDEX PAGE: PHP <?php session_name('ola'); $secure = false;...
asked by 13.07.2016 / 03:46
1
answer

Ajax Returning all page HTML

I have an ajax request on a customer's site on the product page, which, when selecting the available product size, changes the price, but in ajax return instead of just taking the price it takes all the HTML from the page, ie it loads the entire...
asked by 20.06.2016 / 16:24