Questions tagged as 'jquery'

1
answer

Problem with .find ()

I'm trying to find a li with a certain class ( selected ), however, I have not been able to find id of it. Here is the code var slide_act = $(".bull").find("selected").attr("id"); console.log(slide_act); The undefi...
asked by 22.11.2017 / 20:56
4
answers

Select input with a given class within a form

I have a form and inside this form I am adding a certain input dynamically via jquery using a button, these inputs go to array in a C # controller.   CurrentlyI'mdoingthis:for(varj=0;j<numeroDePiscinas;j++){formdata.appen...
asked by 06.06.2017 / 15:09
2
answers

search for value in object json and return position in array

Is there any way to search for the surname in the object and return the position in the main array? Eg: Searching SOUZA return index position in the array and retrieve the same data for display. function filtrar(){ var quadro=[...
asked by 04.09.2018 / 21:46
2
answers

Send form data via GET to server (no page refresh)

I have this form and would like to give a GET to variables with their value when clicking the button, without refreshing the page because I have other forms on the same page, is it possible with PHP, or do you have to use AJAX? / p> Fo...
asked by 22.11.2014 / 17:58
1
answer

FullCalendar displayed at wrong time

I'm implementing FullCalendar in a project, I've inserted some Events in the database, and I return them via Json . But by displaying them on the screen, they come with the correct date time, but the display does not show in the c...
asked by 22.05.2017 / 15:47
1
answer

Jquery how to select a specific element by index

I would like to know how to select a specific element by the position of the index, as I can move through the structure with the next and prev functions, but I'm not finding a way to select an element directly by its position. I'm using Jquery...
asked by 03.07.2014 / 16:27
3
answers

How to leave buttons fixed in floating div

I have in my system a situation similar to the one I gave as an example. A modal bootstrap that can open at any location on the screen. This mode does not occupy the entire screen. Within this modal, some records are listed, depending on the con...
asked by 22.05.2017 / 14:01
2
answers

Remove element when clicking the link with jquery

I need to make that when clicking the link it removes this tr element that is the link, can someone help me? <?php foreach ($emails as $v): ?> <tr> <td><?= $v->id; ?></td> <td><?= $v-...
asked by 31.03.2017 / 07:19
1
answer

Jquery Validate max according to condition

I'm making a jquery.validate , can get the max to be dynamically, something like: ... max: function () { return $('#QtdEstoqueHidden').val(); ... Okay, it worked! (I store the max value in a hidden field that is dynamically re...
asked by 03.03.2017 / 21:47
2
answers

Handle error: "Uncaught TypeError: Can not read property of 'value' undefined"

Hello, When making an AJAX request, I get the following error: Uncaught TypeError: Cannot read property of 'rede' undefined. I even understand the reason, I do not have the following value on account of the filter made by the user not re...
asked by 20.01.2017 / 19:35