Questions tagged as 'ajax'

1
answer

My AJAX response is not shown in my html use Javascript

I decided to ask this question, because most of the answers that I found the programmers use JQuery instead of Javascript , I am Javascript and I did not get any similar cases, the truth seems to me that all my code is fine but unfortunatel...
asked by 17.07.2018 / 16:41
1
answer

Do not update me Ajax Json

in the select that shows a list from an api in json <select id="Select"></select> He goes to the js function getData(){ $.ajax({ type: "GET", url: 'http://localhost:8000/api/api', dataType: "json", success:...
asked by 17.07.2018 / 21:54
0
answers

Error 500 on Debian 9

Good morning, I have this failure with which I woke up today, I comment that two days ago I did not have any kind of problems, comment that I'm using prepros , php , < strong> jquery , mysql , in debian 9 , and restart the services of these,...
asked by 17.07.2018 / 21:40
2
answers

I get the error: Uncaught SyntaxError: Unexpected token

On line var order = {$cargo.val();} I get the error:    Uncaught SyntaxError: Unexpected token. <script type="text/javascript"> var $cargo = $('#cargo'); var order = {$cargo.val();}; $('#idBoton').on('click'...
asked by 18.07.2018 / 19:11
0
answers

Wordpress pagination with ajax

I have implemented wordpress pagination to my website <?php global $wp_query; $big = 999999999; // need an unlikely integer echo paginate_links( array( 'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),...
asked by 17.07.2018 / 13:53
0
answers

Problem sending form data with Ajax

Friends please help me to identify my problem I am using ajax to send the data that I extract from the form, I do not know if it is the libraries I am calling them wrong? or is it the structure of the ajax, can someone tell me what I'm doing wro...
asked by 15.07.2018 / 23:07
1
answer

How to bring several fields at once with Ajax

I am trying to show several answer results. I want to show all the "follow-ups" with the same id of the "case" table, this is the Ajax that I use to put in each input the fields of the query. function Tcaso(id){ $.ajax({ type:"...
asked by 16.07.2018 / 14:09
1
answer

I do not take the ajax fields

this is the error    index_for_we.html: 42 POST    link 400 (Bad   Request) (anonymous) @ index_for_we.html: 42 dispatch @ jquery.min.js: 3   r.handle @ jquery.min.js: 3 index_for_we.html: 60 You saved this item   {response_key: "c23603c2230...
asked by 18.07.2018 / 22:17
1
answer

Laravel- No 'Access-Control-Allow-Origin' header is present on the requested resource

Display my app in heroku and some icons do not load, I get this error ... Access to Font at ' link ' from origin ' link 'has been blocked by CORS policy: No' Access-Control-Allow-Origin 'header is present on the requested resource. Origin '...
asked by 10.07.2018 / 03:11
1
answer

Wordpress custom Password recovery using ajax

I used the following code to create a custom form to retrieve the wordpress password via e-mail without having to go through the wordpress own form, here is the code -PHp - <?php global $wpdb; $error = ''; $success = '';...
asked by 10.07.2018 / 11:47