Questions tagged as 'ajax'

1
answer

Friendly URL with JQuery

Hello, everyone! My system is developed in JQuery, so I make changes to pages without loading, just with $ .get (). The big question is: even without loading, I need the URLs to be changed, making the system even more user friendly. I can alr...
asked by 29.11.2017 / 21:00
1
answer

Help with ajax to send new variable value on this page without refresh via radio button

I'm trying to make a table with a radio that when I click, it changes the order that the contents of the table is displayed, I saw that the way to do this is with ajax, but I do not have much time remaining, and from what I saw ajax I could not...
asked by 06.11.2017 / 21:54
1
answer

ajax for notification

To change the html whenever an information in the bank is changed without refresh (style notifications of facebook) is done like? I am currently using a timer, I was wondering if there is a better way to do the request only when needed [I'm d...
asked by 07.11.2017 / 15:02
2
answers

Error when picking up JSON elements

Talk to people, blz? I'm having a problem when receiving the JSON response from Ajax, I can not populate all the states in the select. Although it is inside a for it only takes the last element, ie it runs through all states but only stores the...
asked by 27.10.2017 / 21:58
2
answers

Check ajax return, it works only the first time

Good morning friends, I have this code: $(document).ready(function(){ $('button').on('click',function(e){ e.preventDefault(); var codigo = $(this).attr('id'); $.ajax({ type: 'post',...
asked by 27.10.2017 / 13:49
1
answer

Load page inside a div with Ajax

Good afternoon! I am trying to use Ajax to load a page inside a div that I have, but it is giving 403 error (Forbidden). In case I can not do this? Would I have to do it any other way? NOTE: The page I want to load is zendesk. $j.ajax({...
asked by 26.10.2017 / 18:54
1
answer

Display div after sending emails via POST Ajax PHP

I'm learning how to send email via POST in Ajax. What I have is right, the only thing is that after sending the email, it does not load the form (returnHTML), getting a hole in the screen: <!DOCTYPE html> <html> <head>...
asked by 25.09.2017 / 04:26
1
answer

How to retrieve PHP array for comparison in javascript?

I have a code in javascript that sends some elements of the page to another in PHP via ajax and there are some comparisons. Then it returns this array with the print_r () function: However, I'd like to use return for a second javascri...
asked by 14.09.2017 / 04:07
1
answer

Multiply value by taking only the first character

Personal I need an aid because I am not aware of javascript In this script below it makes calculations according to a chosen field it works perfect for me, plus my problem is in the dropdown. this dropdown it does a multiplication by value....
asked by 14.09.2017 / 06:09
1
answer

Sending and Removing from Bank with Jquery

Hello! I recently made another post here, but it was poorly explained. I was wanting to make a form that does an insert in the bank and also removes. I have created a small system of titles, so users can favor those they liked best. It wor...
asked by 06.09.2017 / 22:51