Questions tagged as 'ajax'

1
answer

Modal Window and Data Manipulation

I have the following question: I'm working on a project where I have a registration form and need to open a modal window to include an address in a form. Example: In my form I have 3 types of Address. Home Address > The user click...
asked by 13.04.2015 / 21:33
1
answer

Ajax + Auth CakePHP only returns false

I'm using ajax to log in to my system using CakePHP Page with Ajax <form id="login"> <input type="text" name="username" placeholder="Usuário" required> <input type="text" name="password" placeholder="Senha" required&g...
asked by 28.03.2015 / 13:47
0
answers

Call web service via Ajax with focusout function

$("#<%=txtProduto.ClientID%>").on("focusout", function (event) { event.preventDefault(); $.post(AjaxService.Pessoa(<%=txtProduto.ClientID%>), function (data) { $("#<%=txtPrecoUnitario.Client...
asked by 27.03.2015 / 13:23
0
answers

Fields filled with zip code in CakePHP 2.x

I'm trying to autocomplete fields in CakePHP from a zip code, I'm adapting the code found on this site: link I used the following site as an example to know how to configure ajax requests for the Framework: link Here is my code:...
asked by 01.02.2015 / 22:16
0
answers

How to mount the Json return

I do not know how to do it or who to turn to. I need to do this json return with Jquery.Ajax I would like to pass parameters more or less like this In JAVASCRIPT I have this $.ajax({ type: "POST", url: ".....
asked by 05.03.2015 / 14:48
0
answers

Help with where in Laravel

Hi everyone, I wanted your help in a where. In my system it is like this, I am on the photo gallery page of the Resort (id = 1), on this page I can register the photos of the month / year of the development (the steps of the work). When I reg...
asked by 17.01.2015 / 17:47
10
answers

How to create a site without reloading every click on a link?

I want to develop a site that runs around the same file, but I'm not sure how to look for study material for that. So: Normal site-> I'm on the Index.php page. When I click on the "Portfolio" menu, for example, it goes and loads the file P...
asked by 20.02.2014 / 05:48
2
answers

Checkbox selected javascript for controller

I have a group of checkboxes that are generated from the DB, consequently their id will be different. In my case 3 checkboxes are generated: HTML: <input type="checkbox" id="[email protected]()" name="teste" class="checkbox style-0">...
asked by 04.02.2015 / 16:34
1
answer

Pass multidimensional array to php

I'm struggling with a problem a days .. This is the following, I have a multidimensional array and I want to pass as a parameter in a ajax request to a php file, but when I am doing this what is returning is a php empty. I have no idea why,...
asked by 05.02.2015 / 12:36
1
answer

Empty session updating only DIV [duplicate]

I logged into PHP, where I validated the data via Ajax and loaded a PHP page into a DIV, so I did not have to refresh the whole page. So far so good. <?php if(!isset($_SESSION)){ session_start(); } $username = $_POST['name']; $p...
asked by 30.10.2014 / 13:45