Questions tagged as 'jquery'

2
answers

Get radio value and pass to an input hidden with same name

I need to get the value of all the input radio (which are checked) from my page, it is around 10 radius, the value is loaded directly from the database, but they are disabled because the user can not change the value, they are already checked,...
asked by 17.03.2016 / 13:11
3
answers

Stop multiple Jquery events

I have the following situation: $('input[name=buscar]').on( "keydown keypress keyup", function( event ) { console.log('foi'); }); Every time I type, all 3 events are triggered. How do I get only 1 to be fired, instead of the 3? that is,...
asked by 08.04.2016 / 14:54
1
answer

Stylize input type file [duplicate]

Is there a way to style an input type file and leave it like this? I tried styling via css but I did not succeed. I can not think of any way to do this.     
asked by 23.03.2016 / 22:14
1
answer

get text select and send form jquery

I made this function to send with jquery via post and I have to get the value and the text of the select and another value of an input type text. Follow the code below function SalvarRegistro(){ $(this).ready(function(){ var cu...
asked by 17.03.2016 / 06:24
1
answer

JavaScript / jQuery Methods

forEach / slice.Call() / [].slice() Can anyone give me a brief explanation of these methods, and when can I use them?     
asked by 27.03.2016 / 19:15
2
answers

Toggle tag href "a" when clicking on other elements

I have two payment selection buttons where when I select a button, a third button to end the payment has its href changed, according to the option chosen. Codepen demo: link     
asked by 08.04.2015 / 19:56
2
answers

how to send a kind of form without button?

I'd like to know how to send a request to the database. in fact not a request but an insert for when I click on radio button it enter the value of radio button on the bank how do I do that?     
asked by 22.10.2015 / 18:48
2
answers

Animation in Sections of the site [duplicate]

I want to do something like this on my site: link As it rolls down, the movements of div's type a fade in and fade out . Is there any tutorial to do this? I'm using animatescroll.js to navigate.     
asked by 14.10.2014 / 18:48
1
answer

Calling the jQuery event not working [duplicate]

I have a button in which I add some components on the screen (input, drop down etc ...), via jQuery manipulation. Among these components two buttons, respectively one of "Save" and one of "Cancel". $('#show-destination').click(function () {...
asked by 30.10.2014 / 20:26
2
answers

jQuery adding multiple non-html rows

I'm using the following code: $("#divPrincipal").prepend('<p class="text-success">Você terá aproximadamente ' + resultado + ' plantas </p>'); The idea was to click on a button and it will print the line with the result in m...
asked by 23.11.2014 / 01:52