Questions tagged as 'ajax'

2
answers

Problem when using Ajax to use Google Maps API

I want to use ajax to use a Google Maps API, but I do not know what it would be like in this case. This is an example of the Google Maps documentation of how the route should be. link In javascript I have the following: var waypoint...
asked by 07.12.2016 / 15:40
2
answers

How to insert data from a json in a mysql table with phalcon?

I am currently working with the php phalcon framework and I have a problem when saving information to the database with json, make an ajax that loads me some inputs depending on the code of a team <script type="text/javascript"> $("#c...
asked by 09.12.2016 / 18:59
1
answer

Does not return JSON and shows error only to me

Very good, I have a code that the data of a form sends in a JSON by means of ajax with the post method to an external server, the external server is already doing what it has to do and it returns me to my other JSON The problem is that this a...
asked by 14.11.2016 / 14:35
2
answers

AJAX PHP pass select value to a codeigniter controller

I have a problem about which I am very confused. I have a dynamically generated selection box using a php query with codeigniter: <div class="form-group"> <select onchange="func(this.value)"> <option value="">Se...
asked by 05.01.2017 / 00:16
1
answer

krajee bootstrap file input in a form with other input fields

I have a form with a textarea and a fileinput $(document).on('ready', function() { $("#nom-foto").fileinput({ uploadUrl: 'grabafoto.php', dropZoneEnabled: false, previewFileType: "image", allowed...
asked by 19.10.2016 / 19:15
1
answer

Pass variable from JSP to SERVLET using AJAX

I have a list of orders and when I click on one I want to open a new page with the details of that order. I was reading and it can be done with ajax but all I saw were with form but I want you to click on the div. Orders.jsp <%@ taglib p...
asked by 08.11.2016 / 04:50
1
answer

Error in Boostrap modal with JSP and Servlets

I am developing an application with JSP, Servlets and Bootstrap, but I have a problem when showing a modal the problem is that I print in a table data brought from the database and there I have the options to delete and edit, when it is to be ed...
asked by 12.10.2016 / 17:54
1
answer

Collect data in modal Bootstrap and retrieve data from PHP at the same time (AJAX, PHP, MySql)

I receive data from a link and show them in a modal Bootstrap page 1 <a href="pagina" id="id" data-target="#edit-modal">Enlace</a> page 2 $('#edit-modal').on('show.bs.modal', function(e) { var...
asked by 28.11.2016 / 15:17
1
answer

show a result in ajax in real time

I have this code and the problem that I present is that if I write a word several times and the word is available in the database it shows me the result as many times as the letters have the word. For example if I search for "stack" and it is...
asked by 14.09.2016 / 19:48
1
answer

How can I make my users know my new updates (Feedback)? [closed]

I have a page where I will upload podcast, Videos and Articles, I would like to know how to do that when I upload or better, share my videos on the website at the beginning of it, have the new updates. They are shared through youtube, n...
asked by 25.08.2016 / 18:42