Questions tagged as 'ajax'

1
answer

Request for an additional url

Dear I have this code consuming this api in json, I need to show in the div or class homeworld, the name of the planet, they tell me that I have to make an additional request entering the service route figure the homeworld item which has a url w...
asked by 15.05.2018 / 07:27
1
answer

Send data by ajax to controller - symfony

I am developing a web management system of shifts with symfony 3.4, jquery and ajax. In a form, the user selects a location and a date and must press a button to obtain the available shifts. I can not get the response from the server or the orde...
asked by 17.06.2018 / 23:39
0
answers

Upload data from .json or MySQL with Highcharts and Ajax

I have a .json document that I keep with MySQL in my database and it contains the following: { "ticker": { "base": "BTC", "target": "USD", "price": "9330.81745211", "volume": "53283.57785327", "c...
asked by 07.05.2018 / 16:53
2
answers

AJAX Multiples submit in a form

I need to have 2 or more buttons in a FORM and each with a different action, I know that I can do this directly with HTML by adding a formaction but I need to do this from AJAX , I am also aware that I can use a onclick on each button,...
asked by 04.05.2018 / 15:36
1
answer

Send email form without refreshing php and ajax

I have the following code with which I want to send an email (that works correctly) without having to refresh the page and also a div that I have with a display none change to flex. The two things separately work for me, the fault is to want to...
asked by 28.06.2018 / 01:05
1
answer

How to make the functions of ajax independent since they are called by dynamic selects created by clone

I have a form with three input groups, the first ones are fixed, the second ones are dynamically generated by .clone and the third ones are fixed. The problem is the second group of inputs I have two select the first is filled by ajax query to s...
asked by 28.06.2018 / 23:18
2
answers

Ajax does not reach the controller in cakephp

Hello, I have the following codes: Routes Router::connect('/', array('controller' => 'pages', 'action' => 'home', 'home')); Router::connect('/post', array('controller' => 'Posts', 'action' => 'display', 'Posts/index')); Router::con...
asked by 28.04.2018 / 00:56
1
answer

how to obtain values in a MULTISELECT using JSON?

I have a dni field and a multiselect technology, in technology I added a function to show it with check boxes () which I want to show through JSON, but I do not drag anything, I was thinking about adding an ajax inside the function , but I would...
asked by 26.04.2018 / 19:14
1
answer

Write result of function in input text JavaScrip

I have this problem guys, I need that the result of a function that I am shooting with an event is written in a text type input, in this case the one that is after USD, I can do it in an elemnto <span> more not within <input&g...
asked by 09.05.2018 / 21:00
0
answers

Menu that does not take me ajax

I have a problem with a dependent menu made with the YII framework, what I need is that when I enter a value in a dropdown and change another two dropdown, but it only takes me a few. this is my controller: public function actionAjaxListado...
asked by 04.04.2018 / 20:20