Questions tagged as 'jquery'

1
answer

How to create an array with data from a table html?

I need to put the table html data in a array . The current scenario does not allow me to add class or id to the <td> tags (which would make it much easier), later I started the jquery code but I do not know how to...
asked by 27.11.2017 / 12:25
1
answer

Verify dynamically created checkbox

Good afternoon. I need to check if a dynamically created checkbox (is within a modal) is checked. As it was created dynamically, I thought of the following code: $(document).ready(function () { $(document).on('click', '#elemento', functi...
asked by 27.11.2017 / 16:25
1
answer

Carousel with a Table

I have a table with Bootstrap and DataTables. But I wanted to do something like a Carousel, that every X seconds it went to the next page, and when the end came, go back to page 1. How can I do this with Html / Css / Javascript / Jquery. The ide...
asked by 16.11.2017 / 14:24
1
answer

Validate field when moving to another field

I have the following fields: IntheseareregisteredthevaluesallowedbythePostOfficetocalculatethefreight.AlthoughIlimitedthefieldstoacceptedvalues:<divclass="col-lg-3"> <div class="input-group margin-bottom-sm"> <inpu...
asked by 09.11.2017 / 20:43
1
answer

Upload a page after filling in a textfield using jQuery

I'm doing a Jokenpo game, and I need a username to put on the Score. In the case I created a home page with a textfield for the user to enter his name. Just after typing your name, you should open the other page where the game is with the option...
asked by 30.10.2017 / 15:49
1
answer

Use jquery component inside a formData (fileupload)

Friends, I'm using the jquery fileupload plugin and using the following callback: jQuery("#fileupload").fileupload({ url: '/painel/uploads', dataType: 'json', formData: {_token: jQuery("#fileupload").data('token'), idpasta: jQuery(...
asked by 31.10.2017 / 03:34
1
answer

How to use taggleClass for 3 different css?

When accessing the page, the titles are color = blue When you click on the title, the color changes to color = red (and opens content) But when the title closes back to color = blue I need to: When clicking on the title change to the...
asked by 31.10.2017 / 05:37
1
answer

Click as if it were toggle or hover

I have a problem with something similar to a legacy tooltip, what happens is that they did in hover this way: var elem = jQuery('#interrogacao_adicionar_cartao_div'); jQuery('#tooltip-cartao').hover( function() { elem.show();...
asked by 22.11.2017 / 19:54
2
answers

Show "Loading ..." during page navigation

When I make a call ajax I can already show / hide a loading gif like this: $(document).ajaxStart(function () { $('#loadingFull').fadeIn(); }).ajaxStop(function () { $('#loadingFull').fadeOut(); }); However, several calls on the...
asked by 24.10.2017 / 18:32
1
answer

Input added with .append () does not send the POST data

The script below adds groups of fields to a form. Until then, okay. The fields are added but when I send the form I only receive the data from the fixed inputs, those that are added dynamically are not received. Code: $(document).ready(...
asked by 24.10.2017 / 16:18