Questions tagged as 'jquery'

1
answer

Center Text block vertically according to the size of the div beside

My partners, I'm losing my hair with this problem I'm facing. I have some pages made with bootsptrap, in which each container has a row and has two columns (each with the following classes: col-xs-12 col-sm-12 col-md-6 col- lg-6), in this the...
asked by 31.03.2015 / 02:57
1
answer

Why does serialize form return empty textarea value?

Good evening, I am creating a CMS based on bootstrap php and ajax what happens to me and that I can send the data of form all method POST minus the value of textarea always returns empty I'm using tiny...
asked by 29.03.2015 / 21:11
1
answer

View image to load PHP

Hello, I would like to know how to display an image that is to be loaded in a INPUT FILE For example, when the user clicks to load the image and after selecting it, how do I display a preview of the image before submitting the form?  ...
asked by 16.03.2015 / 20:12
1
answer

Infinite Loop. How to stop the Loop in a certain situation?

I've implemented the code below, it runs the page every X Seconds, but it never stops, it gets in an infinite loop. I would like to make the code stop running when: if (track_click >= total_pages - 1) {} But I do not know what...
asked by 18.03.2015 / 22:09
1
answer

Break div when content exceeds maximum size

My style css to a div, like an A4 page .pagina { width: 210mm; min-height: 297mm; max-height: 297mm; padding: 30mm 20mm 20mm 30mm; margin: 10mm auto; border-radius: 5px; background: white; box-shadow: 0 0 0.5cm...
asked by 13.03.2015 / 16:55
1
answer

Navigate input tab with values [duplicate]

First is not the same question as I did earlier , it is a supplementary question. I currently have the following template in the JSFiddle that runs regularly, you press tab and scroll horizontal goes browsing, bringing i...
asked by 03.07.2015 / 14:52
2
answers

Doubt on ajax

My question is whether this code is correct. $(document).ready(function(){ $("#fechar").click(function(e){ e.preventDefault(); String lista_Cont = $(this).attr('<?php include "listaUsuario...
asked by 02.06.2015 / 21:29
1
answer

I can not get the jQuery Vegas plugin to work

I'm trying to try a plugin jQuery called vegas to make a fullscreen background but it's not working, I've done according to what's on the site, I've imported all libraries, jQuery and .css files % of Vegas . My code l...
asked by 06.06.2015 / 15:40
2
answers

How to solve value quotes in html with javascript?

I have a script that creates buttons with onclick events, but I'm having trouble assigning its value. See the script: for (var i = 0; i < cursos.length; i++) { $("#cursos").append("<button class='ui-btn ui-corner-all optCurso' data-...
asked by 05.06.2015 / 02:19
2
answers

Pass array of objects via javascript to the controller

How can I pass an array of javascript objects to the controller? JQUERY var array = []; var $linhas = $("#vendaTabela tbody > tr"); $linhas.each(function () { var x = { id: $(".codigo",this).text(), quantidade: $(".quantidad...
asked by 06.03.2015 / 16:18