Questions tagged as 'jquery'

1
answer

Animation and functionality (html structure) expand and counter specific boxes inside a container

Good, I'm working on a model, I have some idea of how to proceed but complicate me in doing so. First, it is a structure of boxes (divs) inside a container, organized to the grid, by clicking on 1 of them, it must expand and the 2 that are in th...
asked by 22.09.2017 / 22:18
1
answer

How to display a modal form in SEMANTIC UI

I have a button on the information or help form (the red button with the "i") I am with semantic ui and according to the documentation I can generate a modal defining the following: <div class="ui modal"> <i class="close icon...
asked by 18.07.2017 / 02:19
1
answer

Learning to use firstElementChild

Previously I've been doing a table with Jquery, in which I have complicated, in my code, I want to delete or add a row, tell me the number of the row that made this function (add or remove), for that the delete function already tells me, since t...
asked by 26.07.2017 / 16:37
2
answers

How to format a date of type Date () and add a number of days depending on a format entered?

Good afternoon everyone, I would like your valuable help to be able to do a function that adds me the days to any date entered by the user, I have been looking for a good time on the web but the only thing that appears is to add days to the c...
asked by 14.03.2018 / 23:07
1
answer

Get IDS with Drag & Drop

I have this code that makes a drag & drop that I pulled from the Javascript page, it works fine. I just have a problem, I need the ID of the div where it fell. I did this but it does not work, I get undefinied the grid ID. function dragstar...
asked by 02.08.2017 / 18:15
1
answer

Change FullCalendar resources

I'm making a calendar, using the "timeline" view of FullCalendar . What I want to do is change the "resources" in a dynamic way, since I already have a view of Students and the Projects view, each with its corresponding events. I tried to do...
asked by 10.08.2017 / 15:19
1
answer

How to use the hotkeys with Jquery?

I would like to know how to use the quick access keys in Jquery. Currently for click events a button is used in this way: $("#id_boton").on('click', function (e) { //codigo ... }); In the case of the row of a datatable: $('#idtable...
asked by 28.03.2017 / 04:57
2
answers

Ajax query "undefined"

My query is as follows, my code is: $("#sPedido").change(function(){ var codigo_c=$("#sPedido").val(); $.post("traertabla.php", function(datos){ $("#midiv").html(datos); alert(datos.mensaje); }); }); The line:...
asked by 09.03.2017 / 01:06
1
answer

help syntaxError: unexpected token {in json at position 4

I do not know where the error is, but if you make the query well $.ajax({ url: base_url + 'cargar/carga', type : "POST", data: {id:id}, success: function(json,textStatus, jqXHR) { console.log(json...
asked by 24.10.2018 / 02:03
1
answer

POST method to send form data with AJAX without JQUERY [duplicate]

Hi, I have a script in js that sends the form data from a page to the server and it works well with a Jquery function but I would like to be able to do it without the use of Jquery. script with jQuery (works) $("#contact-form").on("submit...
asked by 29.04.2018 / 13:09