Questions tagged as 'ajax'

1
answer

Ajax By Form Data = Indefinite Variable

This is my form <form action='emails.php' method='post' > <input type='submit' value='Enviar para Email Selecionados' class='selecionados'/> </form> <div class='divtop' style='display:none; '> <form method='post'...
asked by 19.11.2017 / 22:45
1
answer

Ajax requests do not stop loading

I've been experiencing this problem for many days now, I have a page where I externally loads the link from a security camera to display the image on the main page, so that's fine, the image usually shows on my page, all XHR requests do not work...
asked by 10.11.2017 / 20:10
2
answers

How do I mark options in ajax return?

I have an array of ids and I'm returning this array in the ajax response. How to compare this array with the select options and mark the option if it matches the index of the array? In PHP, we use the in_array () var options = data.opti...
asked by 30.11.2017 / 18:32
1
answer

AJAX success return incorrect

I'm using Jquery AJAX in my ASP.NET MVC application and I'm having a rather strange problem. When performing an AJAX request, instead of being retuned the content I want to load (a new ".cshtml" page) is returned the same content as the current...
asked by 30.11.2017 / 14:11
2
answers

How to insert value in mysql with PHP and Ajax

I have the following recipe page, which lists the ingredients: <?php $db->setQuery("Select * from #__ingredientes"); $tmpingredientes = $db->loadObjectList(); ?> And then I show you the list of ingredients. I wanted to put an...
asked by 23.10.2017 / 21:11
2
answers

Complete fields without user having to give TAB

When selecting the product in the list of suggestions AutoComplete I have to give TAB to complete the next fields, I wanted as long as the Description field was filled in the other fields were filled without needing the user to use TAB <...
asked by 22.10.2017 / 21:29
2
answers

Complete fields

When selecting the product in the list of suggestions AutoComplete I have to give TAB to complete the next fields, I wanted as long as the Description field was filled in the other fields were filled without needing the user to use TAB. Would yo...
asked by 23.10.2017 / 13:53
1
answer

Passing link to php include with jquery possible?

I have a page in php that requires header , sidebar , and footer , but content body would like to pay dynamically by passing the link to require via jquery, I do not want to work with framework since it will be a small p...
asked by 06.11.2017 / 17:20
1
answer

Retrieve data json ajax [closed]

I have this request: <script type="text/javascript"> jQuery(document).ready(function(){ jQuery('#ajax_form').submit(function(){ var dados = jQuery( this ).serialize(); jQuery.ajax({ t...
asked by 25.09.2017 / 14:55
1
answer

Reading in JSON file generating error

I'm trying to do a read in JSON, and result what I want in a div but my console is returned the following error, XMLHttpRequest cannot load JSON file: {"content":{"nome":"Josimara","pais":"brasil"}} HTML <script type="text/javascr...
asked by 25.09.2017 / 20:59