Questions tagged as 'jquery'

1
answer

Error in delaying hide message using delay & fadeOut - jQuery

I have the following line that sends me a success message with div , but some penalties I can read the message. $('.message').html(textStatus).delay(60000).fadeOut(60000); location.href = 'exito.php';},60000); Unlike location.href...
asked by 29.08.2018 / 17:38
2
answers

How can I generate a dynamic id from 1 to 10 with js

I have a problem wanting to generate a dynamic id for my input of a form ... $(function() { $('#imagen1').change(function(x) { addImage(x); }); function addImage(x){ var file = x.target.files[0], imageType =...
asked by 29.08.2018 / 19:56
1
answer

How to open a Modal, in CRUD of data with jQuery

I have a CRUD of DATA, in which I try to do something interactive with jQuery: This is the part of the table, in which it contains the data, and its buttons to edit, see etc. <td><input type="checkbox" name="check"></td> &...
asked by 29.08.2018 / 13:33
2
answers

A .serialize () does not take the form data

I have a problem with jQuery. The problem is that I have an AJAX request to send me two data to another .php page that asks me a question. <script type="text/javascript"> $(document).ready(function(){ var data=$("form").se...
asked by 28.11.2018 / 23:28
1
answer

DOUBT To validate form with jQuery before "Check Data"

I'm seeing how I can validate a form with jQuery. The form can be of "4 types" with what depending on the option that you choose at the beginning: "I would like to add a required attribute to the required fields, of course it will vary de...
asked by 22.08.2018 / 11:58
1
answer

How to validate values within an array with Validator?

I have the following javascript: arreglos_grados fix, which implements it in the following way: arreglos_grados = [] but I would like to validate with the Validator of Laravel 5.5 if a field that I am inserting in the...
asked by 13.08.2018 / 16:27
1
answer

Why does not my Jquery dialog appear when I click?

I am trying to make a confirmation dialog that happens when you click on the delete link, the dialog is displayed. Are you sure you want to delete the app? But for some reason it does not appear to me. This is my html. <a class="link_poi...
asked by 03.08.2018 / 21:27
1
answer

Replace characters [duplicate]

This post may seem duplicated, but I have tried several ways and the problem is not solved. I have a DataTable in which I dynamically load HTML tags. These labels, instead of being like this: <img src="ruta" /> they look like...
asked by 26.07.2018 / 12:26
1
answer

How to add data from html table to textbox or textarea

Dear, I have a question, I would like to know how I can add data captured from an html table with javascript or jsp. My idea is that every time I select a row of a table with a checkbox, I add the value of that data in a textbox or textarea, and...
asked by 03.08.2018 / 21:11
1
answer

Best way to check a GET

Good afternoon everyone! I am trying to implement a GET call with Jquery where I iterate a list and I have it as follows. <script> $(document).ready(function(){ $.getJSON("https://jsonplaceholder.typicode.com/posts", function(res...
asked by 03.08.2018 / 21:15