Questions tagged as 'jquery'

1
answer

Div's appearing and running

I have the following structure of div's <div id="box"> <div id="1">1</div> <div id="2">2</div> <div id="3">3</div> </div> And the following css: #box { width: 1000px; height: 300px;...
asked by 26.02.2016 / 12:42
1
answer

What is the best way to capture keyboard shortcuts?

I currently use the keypress approach to catch the Alt pressed and the key that the user wants, but using alt Pressed may cause compatibility issues in some browsers. For example, by opening the search window: $(document).on('keypress...
asked by 14.12.2015 / 19:15
2
answers

Real-time Google Maps update

I'm using Google map to show objects in real time. I made a function in Javascript which is refreshed every 3 seconds and in that it updates those marked on the Google map. Something like: vmarcador[value.Id] = new google.maps.Mark...
asked by 12.08.2016 / 20:22
2
answers

How to make more than one field type="radio" without another losing the value?

I'm making a form and it will have two fields for selecting items, ie they are type="radio", but the following problem occurs when it selects an alternative to the first question, but when it selects the second to the first uncheck, I will send...
asked by 10.08.2016 / 16:14
2
answers

ViaCEP does not populate user address data (Website on .NET platform)

I'm developing a web application on the .NET platform and thought of having the user type the zip of their address and automatically populate the textboxes with street, neighborhood, city, and state data. But in my code it does not work, I do no...
asked by 17.05.2016 / 01:46
2
answers

Make div appear when right-clicking

I use the (hover) function to make a DIV appear, I wanted to know if I can make it appear when I right click. That is, a child DIV appears when I click a parent DIV with the right button. Here's an example I'm trying here. .pagina {...
asked by 12.04.2016 / 18:55
2
answers

How to fire functions outside the scope of the Plugin?

I'm making a plugin that at some stage runs a function. Example: <button class="btn btn-warning btn-lg" id="act"> Action </button> (function($) { $.fn.foo = function(options) { var opts = $.extend({}, $.fn.foo.defaults,...
asked by 02.05.2016 / 19:50
2
answers

How to control Scroll in JS / jQuery

I'm having a question, I created a system where you have a 'navigation' between the items, but I could not do the scroll bar 'follow' the items. Would anyone have an idea how to keep up with him? Link Fiddle $(document).ready(functi...
asked by 12.04.2018 / 21:02
2
answers

li's goes up and down one after one

So I have the following ul HTML <div class="atividades"> <ul> <li">Agência Funerária</li> <li>Funerais</li> <li>Cremações</li> <li>...
asked by 19.04.2018 / 17:42
2
answers

Input transition effect jquery javascript

Hello, I wanted when I opened a page my image would come from the bottom up, and when I reached the top it would disappear, all in 10 seconds. How could I do that?     
asked by 23.07.2015 / 03:53