Questions tagged as 'ajax'

1
answer

How to save the results of a "drag-and-drop" table?

I need to do a drag-and-drop that looks like the image below, which is the system I'm developing. In the buttons referring to "1st Period", "2nd Period" and others, I put a function that returns the disciplines referring to the period informe...
asked by 10.02.2014 / 14:47
2
answers

Triggering CSS transition when performing ajax request

I'm trying to do the following, before the element receives the ajax answer I hedge the opacity of it to 0 and trigger the transition, until there it is working beauty, the thing is that after I pass responseText pro element...
asked by 12.02.2014 / 18:32
0
answers

PHP and Javascript - Responsive site - Problems with SELECT and INPUT

I'm making changes to a client's site, making it responsive. I had to make several layout changes that were sent to me by a vendor and because of these changes some Javascript and PHP functions I had do not work in the new layout. In one of t...
asked by 20.12.2018 / 12:55
1
answer

Session variables in ASP.Net

I have a method in AJAX that sends me a certain value, when so requested, for a session variable (a list of strings in this case). Session Variable private static List<string> ListData { get{return (List<string>) Session["Li...
asked by 27.04.2014 / 12:14
1
answer

How to do authentication with Devise via AJAX?

I need to , for example, on my site's home page using GEM Devise with AJAX. Does anyone know any way?     
asked by 04.05.2014 / 02:13
1
answer

Return / Scope problems in CoffeeScript / Javascript

I have in Rails a get '/estados_por_pais/:pais_id route that returns me a JSON array with states in this country. This works perfectly. I created a CoffeeScript class with a static method that should fetch this array of states: class...
asked by 02.05.2014 / 16:30
2
answers

Function with AJAX request that returns another function for JSON object handling

I have a function that uses AJAX to return data from a database. The data is processed and returned in JSON and, from there, I make the necessary manipulations. So: function getData() { $.ajax({ url: 'script.php', type: 'po...
asked by 17.12.2018 / 22:47
1
answer

ERROR Uncaught SyntaxError: Unexpected token in JSON at position 0

I have the following JS script: jQuery(document).ready(function($) { $("#idSelect").change(function(event) { var valor = $(this).val(); //alert(valor); $.post( "ajaxSerie.php", { valorInput: valor }, function( data ) {...
asked by 13.12.2018 / 18:02
2
answers

Jquery Autocomplete with Ajax via PHP and Mysql

I have an input that is populated via Jquery autocomplete. Simple and efficient. But I wanted to make that when selecting a number of this input (it's an IMEI cell number) he would already look for (I imagine it is in Ajax) the device to which i...
asked by 13.12.2018 / 17:43
1
answer

Trigger function by pressing F5 (refresh)

I am making an application in PHP that by selecting a given the combobox regarding the vessel and a date field, do a SELECT in the bank returning some data that is entered in a table. I would like the user to select the boat (1) and by...
asked by 27.12.2018 / 00:52