Questions tagged as 'jquery'

2
answers

Detect which link was clicked

I'm trying to add some songs in a playlist , but I can not tell which song was clicked to add. HTML <div class='album-musicas'> <a href='#' id='add-musica-playlist-link' class='addMusicaPlaylistLink'> <input type='hi...
asked by 07.11.2014 / 19:45
1
answer

Function Jquery executes when I click on a button with back () function?

I have a form that I send to a function with $.ajax that I submit by submit, this works fine. The problem is that I have a button that makes a back () to return to the page and when I click on this button this function $.ajax is ex...
asked by 28.10.2016 / 05:37
2
answers

Reduce this jquery to only 1 block and not 3, how do I?

What is the best way to reduce this code below to just one block? I was using only one but when I hovered over an icon the hover effect appeared for everyone. $('.sidebar-chart-1 .icon-info').mouseover(function(){ $('.sidebar-chart-1...
asked by 25.10.2016 / 15:48
1
answer

Selector jQuery eliminating zero incorrectly

In the following case, you have a code being reported in the data-produto attribute of my input. $(".valor.partida").bind('blur', function(){ alert($(this).data("produto")); }); <script src="https://ajax.googleapis.com/ajax/lib...
asked by 19.05.2016 / 14:53
1
answer

How to do a Jquery that when selecting a radio button, I change the items of a select?

I'm creating an html site and I'm still a bit new to it. I'm doing a store registration screen. My problem is: when selecting a radio button, I want it to change the select (combobox) data. Example: Radio Button Institution, I want it to show in...
asked by 04.05.2016 / 23:00
4
answers

How do I leave the page open in the menu?

For example, on this site when you are on any page it is marked in the menu with a border-top: link I would like to know how I do this, I already tried the visited in css and nothing ...     
asked by 20.05.2016 / 03:45
1
answer

How to use Jquery.mask for CPF with input using []

I'm trying to use Jquery.mask to insert a mask to a field with CPF but it does not work when the field has the following format:    $ ("# CPFPeser []") The input looks like this: <input type="text" id="CPFPessoa[]" name="CPFPessoa[]"...
asked by 03.12.2018 / 18:03
2
answers

Selection Elements

I have the following structure below HTML, I would like to know, as I do when I click the button, I can get value from the element of td class="description" before that within the scope of tr. <tr> <td class="descricao">Texto01&...
asked by 29.11.2018 / 14:34
1
answer

How to duplicate this jQuery function

As you may be seeing in this example fiddle , when the first link is clicked a div appears and when you press the back button of the browser, it closes. I would like the second link to work in the same way, showing the div two, but when I try t...
asked by 11.12.2018 / 23:40
2
answers

My code from my jquery cycle 2 slide does not work. I wonder where the error is?

I've been trying to make this slide a long time, but it does not work at all, I wanted help from you. MyHTMlcode: .slideshow{ width:100%; max-width:980px; overflow:hidden; height:505px; margin:0 auto; } .slides{...
asked by 23.09.2015 / 21:16