Questions tagged as 'ajax'

2
answers

Deleting ajax + jquery

The correct method to delete, my question is how to get the id based on the table row, and how to send the same to a page that it actually excludes. The codes I have already done will be followed. userlist.php <script type="text/java...
asked by 03.06.2015 / 15:02
2
answers

How to list and consult contacts with PHP and Javascript? [closed]

Hello, I need a very practical PHP example that brings me the contact list from a database table, and click on a contact to be displayed the information of it. Follow the image below: I'm a beginner in PHP, I tried to use the query...
asked by 04.06.2015 / 18:43
1
answer

Spring ModelAndView not working correctly with AJAX callback

Well, sometime ago I did a feature on my website which consists of performing a filter (called AJAX ), and in my action I simply return a view I am rendering via callback , but if it is possible I would like the ModelAndView to be responsib...
asked by 18.06.2015 / 03:41
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
1
answer

Save variable value javascipt in the database

function showpos(position){ lat=position.coords.latitude lon=position.coords.longitude var enderDe = (+lat+',' +lon); How do I save the enderDe variable in my database?!     
asked by 20.04.2015 / 03:32
1
answer

Problems with selectOneMenu in Jsf 1.2

I need to use JSF 1.2 for client restriction. I'm using selectOneMenu to select the type of person (Physics / Legal) and change the mask dynamically with <a4j:support> and it's working. But the Bean when receiving the v...
asked by 09.09.2015 / 00:09
1
answer

Fill out form with customer ID

I have a form with customer ID, customer name, address and email. Since the ID is unique, it wanted to be filled in with the input of the ID, to do a search in the database and complete the rest of the form with the missing input's. The problem...
asked by 25.06.2015 / 12:08
1
answer

jQuery event without user interaction

I am accessing the MySQL database and giving a select in a table that will return several ddd's and phones, with this data I'll send to a server via get or post using jquery with ajax. The problem is that it will not have user interaction, it wi...
asked by 02.04.2015 / 14:15
0
answers

Duplicate data in DB when doing Ajax request

Every time I try to register a new comment it duplicates in my database. It loads the comment through ajax, but after I refresh the page the duplicate comment appears. <?php require_once("classes/dao/UsuarioDAO.class.php"); //Chama a classe...
asked by 02.04.2015 / 04:08
0
answers

Save Inputs from a Site to a Database

I'm a beginner with HTML, JavaScript, and the like. I need to save user inputs from my site to a database. My pages, especially the one of register, was developed 100% in HTML. What I need to do is take these INPUTS from the form and save them i...
asked by 11.05.2015 / 00:57