Questions tagged as 'jquery'

2
answers

Click and "Uncheck" button with jquery

I have a Button created just in HTML and CSS, and I need to have someone click it, a <div> block changes its background-color . With this maybe: $(document).ready(function(){ $('#button_on-off').click(function(){...
asked by 03.07.2015 / 04:28
3
answers

How to write and appear somewhere what I wrote

Well, on websites nowadays some things are found that I can not explain, for example, think of a form asking for your name, you fill in, and at the same time your name appears on top of it, as if you were typing and appearing in the form and abo...
asked by 19.07.2015 / 01:28
1
answer

Difference between $ (window) and $ (document)

Is there any difference between using $(window) e $(document) ? Because of what I found they do the same thing .... And this initialization: $(window).on('ready load resize', function(){ Would it work if it were like this? $(d...
asked by 24.04.2015 / 21:57
2
answers

Modal display when submitting a form

How do I display a modal the moment I submit a registration form? The content of this modal is only a message. The following happens, in this form a file and information is sent. Since it usually takes a few seconds for the upload to take place,...
asked by 25.07.2015 / 21:32
1
answer

optional character in mask with Jquery maskedInput does not work

In a form that I am developing, one of the fields that the user needs to fill is the cell phone, and since some regions of Brazil have 9 digits, I am using the jQuery MaskedInput to format the data entry. The problem is that when I create t...
asked by 20.08.2015 / 14:27
2
answers

Help with jQuery. in calculation of plots!

I'mdevelopingasystemwheretheusercanselecttheamountofparcelshewantstosplithispurchase..untilthenokay..butafieldwasrequestedwheretheusercanentertheamounthecanpayperinstallment..andwhenfillinginautomaticallyhemustidentifywhichvaluethatdividedby12c...
asked by 29.09.2017 / 21:47
2
answers

How to make this slideshow infinite?

It's a passing carousel, but the only way I was able to do it was like this: when it arrives on the last slide, it goes back to the first, doing a sort of "return transition" at the beginning. Question: I would like the slides to be in infinit...
asked by 22.01.2017 / 12:07
3
answers

How to put transition in a dropdown of a menu?

I currently use the following code: $("#menu").find('li').hover(function () { $(this).children('ul').clearQueue().slideDown(600); $(this).children('a').children('ul').clearQueue().show(0); }, function () { $(this).children('ul').sl...
asked by 14.08.2014 / 03:59
2
answers

Get div content with equal classes

How do I get content that is within p ? I did it, but it's listing all the content and not just what's clicked. And another question, how do I call a function in onclick when it is inside $(document).ready ? In the example...
asked by 19.08.2014 / 04:06
3
answers

Send file and text via jquery asp.net mvc

Personal I was able to send the file through this code: var jqXHRData = null; $(function () { $('.progress').progress({ percent: 0 }); $("#divUpload").on('click', function () {...
asked by 28.06.2016 / 01:14