Questions tagged as 'ajax'

0
answers

Validation Alert Form yii2

I would like to know if someone has an example of how I can validate a form in yii2 but with an alert popup, example I have a form which is validated with ajax but I would like to click on the submit button to validate and show a popup with the...
asked by 27.07.2018 / 00:48
0
answers

$ _SERVER ['HTTP_REFERER'] does not show anything on my local server

I have this code and it shows nothing. I searched for information I did ANOTHER test with <?php if(isset($_SERVER['HTTP_REFERER'])) { echo $_SERVER['HTTP_REFERER']; } EITHER. I saw in a tutorial that a person if he left here, not...
asked by 23.06.2018 / 19:26
1
answer

Ajax Json shows nothing

I'm following a tutorial, but the page does not show anything. index.html <html> <head></head> <body> <button onclick="ajax_get_json()">Mostrar datos</button> <div id="info"></div>...
asked by 23.06.2018 / 09:46
1
answer

Jquery: ReferenceError: $ is not defined [closed]

The browser returns the error: ReferenceError: $ is not defined with the following script. $(document).ready(function(){ (function($) { "use strict"; jQuery.validator.addMethod('answercheck', function (value, el...
asked by 26.06.2018 / 09:25
0
answers

Ajax in Visual Studio 2013 undefined

use VS 2013, I have a table that should show the data of a form, but it shows undefined HomeController [HttpPost] public ActionResult AddUser(string UserName, string Email, string Password) { var user = new UserModel();...
asked by 23.06.2018 / 22:12
0
answers

Page comments and answers

Does anyone know how I can page these comments? I've tried everything ... jquery, ajax, paginator, php ... <div class="comment-form-container"> <form id="frm-comment"> <div class="input-row">...
asked by 22.06.2018 / 14:24
0
answers

How to use Multiselect with ONCHANGE to Send Data with AJAX

I am currently sending data with AJAX, but with a select, as shown in this code, show.php: <!DOCTYPE html> <html> <head> <title>select</title> <script type="text/javascript" src="js/jquery-2.1.3.min.js...
asked by 22.06.2018 / 18:11
0
answers

Obtain errors from controller via ajax and interpret them with axios and vue js

I am putting together an application which I work with laravel, for the use of java script use vue js and for sending data I use axios. My problem is when I try to apply the rules of laravel, although the message returns to me, trying to pass...
asked by 19.06.2018 / 08:53
0
answers

Problems with array from a while

I have two related tables "Friends" and "Messages" I make a query that throws all the ids of my friends and then send that result via ajax and make a evaluation with that result with an "if", in fact I have no problem, I throw the expected r...
asked by 18.06.2018 / 17:07
0
answers

toggle checkbox with ajax

I have a web application with mvc where I have a toggle button to change the status (on / off) but I do not want to reload the entire page once the status is changed, also for some reason the data I need from the view for the controller do not p...
asked by 19.06.2018 / 17:34