Questions tagged as 'ajax'

1
answer

Pass variable to modal

I have a modal that opens at the end of an action (Example: Disable User). I'm building the modal and wanted it to get the text present in an ajax variable. Verify code: $.ajax({ url: "desativarUsuario.php", type: 'post',...
asked by 10.11.2014 / 11:33
1
answer

Clear json array after Ajax coming from a PHP file

Does anyone know how to clean a json array via ajax coming from a php file? I have a setInterval that checks every 2 seconds and receives data from a php file (this data is brought as array json, I can see in the chrome or firefox XHR) but inste...
asked by 20.03.2015 / 15:10
1
answer

Use a variable created inside an AJAX request in another function

I have a list of projects where when the thumb of a project is clicked, the script loads the images related to the project. $('.project-grid').on('click', 'a', function (event) { event.preventDefault(); var $this = $(this); var id_...
asked by 19.03.2015 / 13:51
2
answers

how to select an option and update the values (price, images ...) that are in the database?

I have a system of budgets of computers in the site, with several options, and I want that when selecting an option update the values of the page without the refresh. For what I researched I will need to use 'ajax', however I have no idea how to...
asked by 11.10.2014 / 02:52
1
answer

How to call information in an html from a .jsp page

I'm developing a good hybrid5 HTML5 mobile app and my backend will be done with Java and MySQL. I am using PhoneGap and the same one to generate the APP needs that my files are of extension .html .css .js , to generate the i...
asked by 02.10.2014 / 16:18
1
answer

remove javascript file from header of a page

I have an asp.net application where I load, according to user's desire various usercontrols. Each usercontrol loaded, via scriptmanagerproxy loads a javascript file. As it is loaded by the usercontrol, it will stop at the Header of the page....
asked by 18.09.2014 / 16:02
1
answer

Asp.Net MVC Tabs x Asp.Net WebForms Ajax Toolkit

Does anyone know of any technique for creating and manipulating server-side tabs using AJAX with Aps .Net MVC strong>? I look for something very similar to the Asp.NET WebForms tabs tabs that manipulate the tabs in code-behind and the...
asked by 17.10.2014 / 19:26
1
answer

Requesting ajax in a Chrome application

I was developing an application in Chrome and needed to use Instagram's api to display some photos but when I went to do the tests the following error appeared: WhatIfoundstrangebecausetheapplicationhasspecialpermissiononthesite: I've been li...
asked by 11.08.2014 / 18:59
1
answer

Request Ajax Codeigniter

I'm getting the following error when sending when sending json data via ajax using the codeigniter: Disallowed Key Characters. When I send only one object it works without problems, but when I send more than one object it returns the error. jQ...
asked by 19.08.2014 / 20:44
1
answer

Stop Form Action with Ajax

What I want I add fields dynamically by telling you how many rows I want to add. I wish as soon as the user clicks to submit the form, I do a check using Ajax to see if any of the reported data has already been registered. If this is true, it...
asked by 28.10.2014 / 13:46