Questions tagged as 'jquery'

1
answer

Jquery - click button to do list show and button hide?

Well, I've implemented a listing and I have a button where clicking on it adds more elements. However I want this button to disappear later. I implemented this code, but the button does not disappear: <script> $("button").click(funct...
asked by 09.05.2016 / 16:29
1
answer

Slide control (in div) with jquery - next and prev function?

Friends, I need to mount this slide where I can have a control, that is, next and previous button. In the example the structure is ready, but I do not know how to implement the prev and next controls in jquery. Could someone help? The link be...
asked by 24.09.2015 / 14:40
2
answers

Problems with JSON on the server

Hello I'm having problems with JSON when I upload it to the server .. Example of one of my code that uses JSON : $("input[name=people]").keyup(function(){ if($(this).val() != ''){ $.ajax({...
asked by 08.05.2016 / 01:33
3
answers

How can I put an array in a JavaScript variable and compare it with the value in the text field?

I have the code below and I need to get several different values at once. One way I thought it was in array else does not work. After Ajax it brings me the results in id zpl , if the result comes empty it returns the warning that do...
asked by 05.05.2016 / 13:25
2
answers

Use AngularJS to pass parameter to Jquery

I need to change the alerts template for my web system. For this I am using a JQuery plugin, however, I need to pass a parameter to my JQuery function as this would be my model that is already being used in AngularJS. In this function when cl...
asked by 04.08.2015 / 13:47
1
answer

Performing checkbox checkbox with jquery

I would like to know how I can complement the code below to have how to return values in checkbox mode in the checkbox the problem and that I need this check to be performed as follows keep the array position created at the time of marking the i...
asked by 03.08.2015 / 14:11
1
answer

Get the value of a li and create an input hidden with the value when the li is clicked

Good morning, gentlemen, I'm having a hard time taking action. I want it when clicked on the li, it adds in the div #form an input type hidden with the value of li. and that this happens only when you click once. <div id="selecao">...
asked by 04.08.2015 / 16:22
1
answer

Jquery Scroll Smoth

I have the following JS code: It is applying a smooth scroll to all elements with the reference "#" when I click. JS $('a[href*=#]').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')...
asked by 05.08.2015 / 19:18
1
answer

jQuery .clone () method

I need every time I click on the div Mais , clone the total content of it and put it just below. But it's not working, could you tell me what I'm missing? $(document).ready(function () { $('#maisfoto').on('click', function () {...
asked by 08.07.2015 / 16:10
2
answers

Image loading inside for loop

var image = new Image(); image.src = 'images/logos/jpg_group.jpg'; // image.src = VARimg_categoria[y]; image.onload = function() { var canvas = document.createElement('canvas'); canvas.height = 250;...
asked by 02.08.2017 / 02:59