Questions tagged as 'ajax'

2
answers

Form with Ajax and PHP

Hello. I have a form inside a modal - which is opened by clicking a button that is generated as a column of a table. By clicking on this button I will capture the contents of each column and fill out a form in the modal. If I edit this form o...
asked by 30.08.2016 / 21:03
1
answer

Automatic image upload without refresh

Colleagues. I want to implement an image update on my system, as it happens on facebook, where we click on the existing image and select the desired image from our computer and the image is automatically updated without the need to push a but...
asked by 24.10.2016 / 14:57
1
answer

Upload photos with preview Javascript / Ajax

Hello, I'm doing an administrative site, this site will have the option to upload photo, the user could upload up to 3 photos. My idea was to make facebook type, where you click and add the photo of the post, the problem and what I wanted as...
asked by 12.09.2016 / 20:34
1
answer

AJAX request for PHP (CodeIgniter) does not return values

I'm working on a situation that I can not resolve for more than 2 days in a row. I have an AJAX that is requesting the values for a controller to populate a select with cities. The request seems to be (no error in debug), but nevertheless nothin...
asked by 12.08.2016 / 03:38
1
answer

Open Ajax with url addition

I want to open the "# portfolioModal54" and run ajax add in the front of the url the name and id of the block clicked. Example: BLOCK 1: # portfolioModal54 opened with $ name = quad then the url will be: site.com.br/index.php#quad01 BLOCK...
asked by 18.08.2016 / 20:38
1
answer

ReCaptcha Google with AJAX

I'm trying to make a form with Google's recaptcha validation. What happens is that if I do not validate the recaptcha it gives the error message asking to "check" the recaptcha but if I check the recaptcha it gives the same error asking the u...
asked by 17.08.2016 / 16:01
1
answer

I want to use ajax to simply update a table that reflects the database, without refreshing the page

I have the index.php, which has side by side an insert form and a table that reflects the bank, does not need to have timeout, just want it when I make a new record in the table, it will appear in the table next, without doing refresh in the pag...
asked by 14.07.2016 / 22:05
1
answer

Update table html after registering user using ajax

Hello, I have a following js code to register a user. $(function() { $('#cadastrar_usuario').submit(function(event) { event.preventDefault(); var formDados = new FormData($(this)[0]); $.ajax({ url: 'fu...
asked by 15.07.2016 / 21:48
1
answer

Json Post Unsupported Media Type Spring MVC

I am doing POST using ajax data in JSON format to controller in Spring MVC , however the server is refusing such request Unsupported Media Type stating that the type is not supported. Is there a configura...
asked by 26.07.2016 / 22:44
1
answer

Send ajax requests using POST method with pure javascript

I'm trying to submit a form using AJAX through the POST method but I'm not succeeding. Can anyone help me? function gooSubmit(url,id){ //declaração das variáveis var sd = document.getElementById(id); var req = rq(); //exibi a...
asked by 27.07.2016 / 19:44