Questions tagged as 'jquery'

1
answer

Hide a div when another one appears on the screen?

I'd like to hide a div when another appears on the screen. The div I want to hide has position: fixed , that is to say it accompanies the scroll of the page, however, in the footer has a part similar to this div and I would like...
asked by 19.10.2017 / 13:00
1
answer

How to use JQuery in Angular 2

I have a theme in HTML, CSS, JAVASCRIPT and Frameworks like Bootstrap, JQuery, etc. have been used. I intend to implement the theme in an Angular project 2, on certain pages there are animations, DOM manipulations that are made by the manufac...
asked by 19.10.2017 / 11:51
0
answers

Loop of cart products at transparent pagseguro checkout

Good morning everyone, I have a question and a problem to solve. I'm setting up a transparent checkout, and it works by the way. Currently I put products in the cart, I add the subtotals, to make a total result and it's perfect, and when I se...
asked by 06.11.2017 / 05:15
0
answers

Problem with Json to load data in gmaps api

I'm using Rails in a college project and added the Gmaps API to my project, in it I want to display multiple points on the map by taking the coordinates of a < in JSON to create the cluster . But the function I did not work in any way, t...
asked by 05.11.2017 / 20:37
0
answers

Code optimization

I have a UL automatically generated through a SELECT OPTION . In the architecture I created, I have a LABEL that takes the SELECT first OPTION . This LABEL will also be responsible for receiving click that will open the UL below...
asked by 11.10.2017 / 16:06
0
answers

My table does not show the data even though the code is the same

I can not understand why I do not display records in my table when I change the reference to dataTable2.js , even though the code is the same as the example that shows the data. If you can help me with this jQuery and dataTable , tha...
asked by 22.10.2017 / 20:51
4
answers

Show the result of a JS variable through Jquery in an input in the html

Good afternoon! I'm doing a simple game of jokenpô I created three inputs, one to enter the value that user wants and another to show what was selected by the program and last one to show the result. I was able to get the value of the user...
asked by 20.10.2017 / 18:29
0
answers

event for display: block in image

I have 3 imagens in a ul . A% of% by% of%. Therefore, 3% with%. They are all with imagem . Except the first one. With li , I click on a li's with display:none and the jQuery will appear (...
asked by 21.10.2017 / 13:01
1
answer

JS / jQuery - Multiple tasks at a button

I'm inserting data from a json file into an html div, content is added from a button. everything is working! I just want to replace the contents of the div with each click of this button. ex: 1) First click: the name of person 1 is display...
asked by 28.10.2017 / 19:36
0
answers

Send selected data to an external Json list for e-mail (Fipe Table Query)

$(document).ready(function() { var urlBase = "http://fipeapi.appspot.com/api/1/carros/"; $.getJSON(urlBase + "marcas.json", function(data) { var items = ["<option value=\"\">ESCOLHA UMA MARCA</option>"]; $.each(dat...
asked by 08.10.2017 / 23:12