Questions tagged as 'ajax'

0
answers

Send form data and file data by AJAX + PHP

I have a registration form and a separate upload work well but I want to click on the register button save the registration data in the database and in turn upload the selected files to the server, this is the code of ajax that I use for each on...
asked by 26.02.2018 / 14:47
2
answers

Help with traversing json in c # mvc

Friends, I appeal to you again, what I want to know is how I can travel this json. {"codigo_postal":"84100","municipio":"Nogales","estado":"Sonora","colonias":["Aguajito de la Morita","Felizardo Amador","Hector Soto","Jorge Leal","La Morita (E...
asked by 25.02.2018 / 20:15
1
answer

event onclick button generated by array

I have the following code, and I want that by clicking the button execute the onclik function with the indicated parameter. function getcontent() { $.ajax({ url: 'https://example.io/blog', type: 'GET', success: function(result) {...
asked by 23.02.2018 / 23:13
2
answers

How to add rows to a table from another table with search engine

I am making a simple system for my business everything is going well until now that I get stuck, I hope you can help me I would be grateful enough, I explain a bit of my code and its function first. I have this input that searches for the pro...
asked by 23.02.2018 / 23:54
2
answers

How can I access the values of a URL-type json?

I'm getting the values of this json link but, when I try to get "films" it shows me the value as undefined . I refer to this exact value but I think it is not recognizing that it is a json and that is why it shows the undefined. The referen...
asked by 23.02.2018 / 19:54
1
answer

Send email php ajax

I can not get the email sent, I get the confirmation alert by ajax but nothing is sent, status is 200 ok but it does not work $('form').on('submit', function(e){ let nombre = $('#campoNombre').val(); let email = $('#cam...
asked by 24.02.2018 / 19:07
1
answer

Send message by php

Hello, I do not know why I do not receive the email via php, I have set preventDefault since I do not want it to be sent normally but by ajax, I receive the response through the alert BUT on I receive the message in my email. the status code is...
asked by 24.02.2018 / 15:09
0
answers

Change values of php variables when changing the select value

I have a series of queries which all depend on the period 'FY' and in turn quarter 'Q'. What I want to do is use two selections and when the user selects the period and quarter that he wants to see, he changes the results collected from the data...
asked by 28.02.2018 / 19:01
0
answers

how to fix the error 'Access-Control-Allow-Origin' sending POST with ajax?

I am sending a data through POST with ajax, but it never sends since I get that error "Access-Control-Allow-Origin" and I could not solve it, this is the code: $.ajax({ /*url: 'https://webto.salesforce.com/servlet/servlet.WebToLead',*/...
asked by 21.02.2018 / 22:36
0
answers

Pass numeric data to a highcharts chart with laravel

I'm sending a json via javascript and I send them to the laravel driver, all right up there but when I go back to elaborate the graphic in the lower part it shows me some numbers but not the dates and I do not know what I have to do to show me t...
asked by 23.02.2018 / 14:45