Questions tagged as 'ajax'

3
answers

Form Ajax + Dialog Jquery C # MVC

Good morning, I am trying to use a form
asked by 14.01.2016 / 19:25
3
answers

$ .ajax is not a function

I have an error when sending data by ajax, it marks me an error in the function $.ajax() but I already checked the documentation and the code is ok. This error marks me    status.js: 29 Uncaught TypeError: $ .ajax is not a function...
asked by 15.08.2017 / 05:01
3
answers

Problem sending form with AJAX

The "success" of the AJAX submission function works, but the "url" does not do its function of executing the code. Just check if the directory exists and then go to "success"; If in the "url" I put a false directory it does not go to "success"....
asked by 03.06.2016 / 08:26
3
answers

Query database every X seconds

What I need to do is the following, I do not know why but if you update a data in database does not paint it at once in my view, I must run my project to see the update of the data. I would like to do a method that every 5 seconds consult the da...
asked by 06.06.2016 / 19:10
2
answers

Problems in AJAX query of POST type, sending JSON to Laravel controller

I have the following problem: I am trying to make a AJAX query POST by sending JSON to a controller in Laravel , to then record that information in the database, but I can not find where the error is because the query is not executed corr...
asked by 18.08.2017 / 13:07
1
answer

error 405 POST ajax laravel MethodNotAllowedHttpException

I have a form in which I try to add a category by means of ajax and whenever I try to create a category I get POST 405 error, and it never reaches Controller category and obviously does not enter anything in the database I use windows 7 and X...
asked by 21.11.2016 / 18:11
1
answer

Ajax PHP - ParserError "Unexpected token in JSON at position 0"

I'm trying to make a GET request with ajax and PHP, but I always get the following error: text status=:parsererror, error thrown:=SyntaxError: Unexpected token < in JSON at position 0 My ajax request is as follows: $.ajax({...
asked by 29.09.2016 / 04:59
1
answer

Problem UPDATE with AJAX

I want to update the data of a form using AJAX (jQuery 1.10.2) and the answer goes through the error. HTML <form name="formulario"> <p id="identificador">9</p> <input id="opcion-1" type="radio" name="opcion" value...
asked by 05.05.2016 / 17:10
1
answer

Difference between responseText and response in ajax

Good! What is the difference between ResponseText and response of the XMLHttpRequest object? Thanks!     
asked by 22.07.2017 / 02:32
1
answer

Copy to clipboard with delay

I use this code to copy the clipboard: <script type="text/javascript"> function copiarAlPortapapeles("p1") { var aux = document.createElement("input"); aux.setAttribute("value", document.getElementById("p1").inn...
asked by 30.08.2016 / 10:00