Questions tagged as 'ajax'

2
answers

Ajax Date Return Behavior

My doubt is technical. I would like to understand better what happened. I spent a few days trying to solve a problem in my code. I found that the functions of ajax or php were wrong. Two PHP functions were very similar, b...
asked by 25.07.2014 / 22:28
2
answers

search in json with ajax in specific field

How to search data in a JSON with AJAX? I want to do the search in a JSON field called tag and show another field (title and url) in a div. HTML: <div class="Minimizado top-menu-invisible hidden-mobile hidden-md hidden-sm"> <in...
asked by 28.07.2015 / 16:10
1
answer

Error in JSON with accents

I'm having problems with my JSON , the error is accentuation, does JSON allow? if it allows, how can I do to show, what will get JSON needs it to be normal, with accents and everything .. MY JSON: { "id": "addCTE",...
asked by 12.08.2015 / 20:17
1
answer

Opening page via AJAX with Lightbox

I'm using AJAX and Lightbox to load a page. I will not post the whole code but the link I use to enable Lightbox and load the AJAX page is enabled like this: <a class="lightbox" href="#" onclick="abrirPag('editandomi.php?I_POST=<?php ech...
asked by 23.05.2014 / 07:23
2
answers

ajax duplicating div

The $.ajax function is working correctly, but the return of the data being inserted into the div is being duplicated when the user clicks the button several times. I tried to use .remove() , e.preventDefault(); , stopPropa...
asked by 18.02.2014 / 19:06
3
answers

How do I populate a $ scope (angular) with get.Json (jquery)?

I have a PHP application and use $.getJSON of jQuery to fetch data and thus submit it to my user. I would like to populate a table using Angular. How do I fill a $scope with the response of $.getJSON ? Code sample below (w...
asked by 27.02.2014 / 14:23
2
answers

Slow AJAX Problems in ASP .NET MVC C #

I'm having a slow response problem from my AJAX. I use the following code to search and return a list of results: Javascript function enviaBusca(url) { var resultado = $('#resultados'), mensagem = $('#mensagem'), palavra...
asked by 09.11.2018 / 16:48
3
answers

Real-time dynamic search

In the company I work with, we will implement a system in which the Back-end will be PHP and the database will be CACHE (Intersystem). The database is on a different server from where the system will be implemented in PHP, it happens that all...
asked by 06.02.2015 / 03:15
2
answers

Changing index.jsp dynamically without reloading the page

In my index.jsp I have a table that in one of its cells and an iframe that displays one of my jsp, and depending on the type of action taken by the user it changes which and the page displayed inside the iframe, I would like know if you can do t...
asked by 19.11.2014 / 14:45
1
answer

How to call code in jQuery from a form request?

I have a system with several forms calling jQuery and ajax to solve the problems and register the data retrieved in the mysql database. Since I am a beginner, I am having problems due to lack of knowledge. What I learned: <script src="jQuer...
asked by 07.08.2014 / 04:21