Questions tagged as 'ajax'

1
answer

Searching Array of variables via Ajax and inserting in its due inputs a form

I have a form that searches and fills, via ajax, the person's name and year of birth (in their respective fields), all from the cpf entered by the user. It's something like this: Digite o CPF do usuário ______________ <button>BUSCAR...
asked by 05.08.2016 / 01:13
3
answers

Get data in Mysql DB using AJAX / PHP to create a badge containing the DB item count [closed]

I need to get a count of items in my Mysql DB using ajax and php. My ajax looks like this: <code> $(document).ready(function(){ $('#badgewel').empty(); //Limpa a tabela $.ajax({ type:'get', //método HTTP usado...
asked by 08.07.2016 / 05:43
1
answer

Send data to the client without using an additional url

Hello. What I want to know is the best way to send data to the client and this data will be received through a function (which can be executed in a click). In the example below I will render a page (I am using express in node.js): app.get('...
asked by 09.07.2016 / 21:22
2
answers

Upload Json to Google Maps

I'm drawing a polygon on the map of google, I got it, but how big it is was a very repetitive code that I would like to isolate in a .json, but I could not. I tried to do something simple with Jquery loading the file and putting it in a varia...
asked by 21.06.2016 / 14:46
1
answer

Doubt when returning string json for FullCalendar event

I have a question. I'm using FullCalendar in a project. I can display the data registered in the bank normally. My problem is in the eventClick: I did so: var date = new Date(); var d = date.getDate(), m = date.getMonth(),...
asked by 29.06.2016 / 04:50
1
answer

Problems accessing PHP page via Ajax

I'm having trouble accessing a PHP page via ajax. When I am trying to access in the access.log it gives the following error:    "POST /eglise/mobile/MOB_Acao.php HTTP / 1.1" 200 84 "-" "Mozilla / 5.0   (Linux; Android 4.4.2; XT920 Build / 3_1...
asked by 08.06.2016 / 19:18
1
answer

Codeigniter - Dynamic form

Alright? Well .. I'm a beginner in the world of Web Programming and I'm trying to develop a codeigniter system. could you help me? I'm trying to make a dynamic form in which I have a select that has the months of the year .. and I would like it...
asked by 22.05.2016 / 04:17
1
answer

asp.net MVC does not recognize dates in dd / mm / yyyy received via GET

I'm doing a filter for a paged list. The values of this filter must be sent via ajax with verb GET. This is the model: public class FiltroViewModel { public DateTime? CriadosDe { get;set; } public DateTime? CriadosAte { get;set; } }...
asked by 04.10.2016 / 17:08
3
answers

Ajax Requests - Tips

It is as follows, I would like a suggestion and tip to make a system correct. For example, today I use jquery and many $ .ajax requests, this is to popular some data, to send form data and etc. But I realized that I'm making too many requests fo...
asked by 13.07.2016 / 19:44
1
answer

AJAX PHP system - When using $ ("# div"), load ("page.php", {foo: bar}); jQuery not found $ ("# div")

I have an AJAX system in PHP and I have an index.php where I have all src js included: <head> <link rel="stylesheet" href="/assets/fileinput/css/fileinput.min.css" media="all" type="text/css" /> <script src="/assets/plugins/jQu...
asked by 30.03.2016 / 05:57