Questions tagged as 'jquery'

1
answer

jQuery Click does not work on results coming from $ .post

I'm developing a delete button on the product form that I have, it works like this Category 1 (Radio Button) Category 2 (Radio Button) After selecting a category, it sends a jQuery command to the $ post function and creates...
asked by 14.10.2014 / 07:09
3
answers

Add class after the page is loaded

I'm having a problem, I'm trying to add a css animate class to give an effect when I finish loading the page, but it's not working, it looks like it's adding the class before the page finishes loading, see the code : $(window).load(function(){...
asked by 10.01.2017 / 22:15
1
answer

Check for visible items inside a div

How to check if there is any visible element or vice versa within a <div> ? I can get around with jQuery and tried using el.is(':visible') but I could not because I need to check if everyone inside <div> is hid...
asked by 06.07.2015 / 03:48
3
answers

Working with array with X layers in JS

I have a big problem, I already researched in several places and I did not find the solution I hope you can help me ... My goal is to create a function in JS that will get an array as a base, which I will call here as " A " its structure is this...
asked by 01.07.2015 / 21:25
2
answers

Special Accents and Characters in Ajax jQuery

I have a query that is done with Ajax request via jQuery. In the fields when I type a character as "ç" and send the request to the server, it is arriving with the character in another format. Ex: I type ç in the name field and it arrives in Acti...
asked by 09.05.2014 / 16:17
1
answer

CSS Incompatibility with jquery blockUI in IE 8

I'm using jquery 1.11.0 in> along with the plugin jquery-blockui < in> 2.66.0 and when blocking the screen, div gets white background in IE8 and earlier. Here are the images: The call to blockUI: $.blockUI({ message: "...
asked by 18.02.2014 / 20:21
2
answers

Add days to date of input date

I have a input of type date, I would like to add to it 7 days and put that value in another input also of type date, I tried to do so: <script> $('#txtSolicitacao').on('blur', function(){ data = $('#txtSolicitacao').val...
asked by 04.03.2016 / 18:12
4
answers

How to get the "src" value of an "img" tag through Javascript and copy it to clipboard?

I want to make when when clicking on an image, your url is copied to the clipboard, I tried to use Clipboard but I was only able to copy the text. var a = document.getElementById('id' + img).src.toString(); alert(a); I want to do this but w...
asked by 02.03.2016 / 17:49
1
answer

Index value is not being recognized correctly

I have the following code jQuery : $('.dock-a').hide(); $('.dock').each(function(){ var DOCK = $(this); DOCK.click(function(){ var DOCK_largura = $(window).width(), DOCK_index = $(this).index(), DO...
asked by 15.12.2014 / 19:07
1
answer

Jquery - View comment data

I am trying to return comments data in JQuery and to end a form to enter more comments. <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"type="text/javascrip...
asked by 27.06.2018 / 15:18