Questions tagged as 'ajax'

1
answer

Ajax, Javascript and PHP form

How can I make a form with a UF field and a selection field with cities label that will be filled through AJAX and that when selecting the UF the function JS makes the connection with the server and returns the cities of that UF but without searc...
asked by 27.02.2017 / 15:44
1
answer

Catch element selector created at runtime

I have a system that clears the fields and attributes of a table via javascript and ajax so far, but the elements created and listed at the precise execution time manipulate them through a selector like I do to pick up that selector like id?...
asked by 25.02.2017 / 20:38
1
answer

Does not return any error of an AJAX function

Return% empty% when I use this code (I got it on the internet): <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script><scriptsrc="http://malsup.github.com/jquery.form.js"></script> <script&...
asked by 23.02.2017 / 14:53
0
answers

AJAX does not update div by id

I am developing a login system, where I need to return the validation message to the user in a div on the login page itself, however the error message is appearing on the validation page. I am using Bootstrap and PHP with PDO Login.php: <...
asked by 10.03.2018 / 10:35
1
answer

How to make a change print in the view without refresh? [duplicate]

<script type="text/javascript"> function atualizarTarefas() { var url = "institucional"; jQuery("institucional#entregas").load(url); } setInterval("atualizarTarefas()", 1000); </script>     
asked by 16.02.2017 / 15:42
0
answers

How to take advantage of a javascript function in several forms generated by php?

I have a registration form that by AJAX it returns the registered data. In each record of returned records, I have a <div> that shows the form again with the data generated within the fields in the value property. This <div...
asked by 13.02.2017 / 13:38
0
answers

Problems with ajax / json and cross-origin redirect

I have an application, in flask + javascript, that needs to query a url (on a server I do not have access to), however I get the cross-origin redirect error    XMLHttpRequest can not load link . Redirect from ' link ' to ' 'has been blocke...
asked by 15.02.2017 / 17:16
0
answers

Redirect Page in response AJAX in Asp.net Mvc

I'm having problems redirecting a page, in response to my Ajax, when I'm in FireFox in debug mode, I can redirect, without Debug the page only of a refresh, tried other redirects also failed, only works with Debug open, loading the page the requ...
asked by 02.02.2017 / 19:27
1
answer

Javascript function does not summarize $ _POST of PHP

I'm implementing a progress bar in a simple file upload script. I have the three files that are giving me a headache, Upload.php where the upload script is located, script.js where the script that updates the progress bar is locate...
asked by 02.02.2017 / 23:10
1
answer

I need two clicks to activate Jquey function

Hello, I'm learning to work with AJAX / JSON requests, and I came across a problem (which I think has more to do with Jquery, but I have added the PHP and AJAX tags because you never know). Let's go; When accessing the page in the browser,...
asked by 02.02.2017 / 22:17