Questions tagged as 'jquery'

1
answer

Send object via POST between Javascript

I have two JavaScript files and I need to send an object from arquivo1.js to arquivo2.js via POST, is it possible?     
asked by 08.06.2015 / 05:07
1
answer

Display Carousel after loading

I have two carousels on the page and while they are loading, they are broken. Only after they're right. I would like them to only be displayed, once loaded, but I can not. window.onload = function() { $('#corpo-conteudo-imoveis1')....
asked by 08.09.2015 / 14:54
1
answer

How to change array order javascript array

How do I change an array order. Example: I have an array with the following syntax: arr = [h5, ul, h5, ul, h5, ul, h5, ul,]; The purpose is to change the display order of the html, for example h5 beer / h5 with its respective ul is first exporte...
asked by 11.05.2015 / 02:29
1
answer

ajax upload does not pass variables

I can not pass the variables in the ajax method. <input type="file" id="id-input-file-2" name="arquivo" class="form-control arquivo" /> <input type="hidden" name="ID_Cotacao" id="ID_Cotacao" value="555"> . $(function(){ $('...
asked by 05.09.2015 / 05:24
2
answers

Retrieve and Print selected value from a select

I have 1 <select></select> with several options and I wanted to use jquery to recover the value of the one I had selected and printed on the test div, can anyone help me? <select id="resultado_team2_CSGO">...
asked by 04.09.2015 / 19:36
1
answer

Explode in Jquery

I'm still having difficulties in Jquery, on the face of it I'm bringing a value from the Mysql database: <div id="cod_<?php echo $jmValor->IdCodUsuarios; ?>">Nome do usuário</div> But I need to type what happens with th...
asked by 23.04.2015 / 17:03
1
answer

Limit jQuery checkbox

I'm creating a system where the bank's ready images and below each image has a checkbox, all this inside a for to get the images of the bank, wanted a function to be able to limit the amount of checkbox ie photos that the user can select, I'm us...
asked by 30.04.2015 / 15:45
1
answer

Multiple modal bootstrap returning always the same content

I'm developing an asp.net mvc application, in one of the pages of the site I call several modals of the bootstrap one on top of the other, however, when already has a modal open the new appears with the same content as the old, follows code snip...
asked by 03.07.2015 / 03:04
1
answer

Date () Add Jquery dynamically

I would like to know the following. I am using the date function of jquery. As the HTML code is dynamically created, I can not assign the date. //Aqui tem um each $('#div').append('<span class="vor" data-tipo_m="'+v.cob_tipo_mapa+'">'+v...
asked by 01.05.2015 / 21:56
2
answers

Problems using Dropzone.js in a form

I want to add fields to a form that uses Dropzone.js to upload files. WhenIaddthefilestoupload,thescreenlookslikethis: var Galerias = function () { return { //main function to initiate the module initForm:...
asked by 04.05.2015 / 20:16