Questions tagged as 'jquery'

1
answer

specified class but jQuery jumps element

I have this HTML <div class="slider"> <div class="slide ativa"> <img class="fade" src="http://funerariasaopedro.net.br/novo/_img/_banner/_site/bg_1.jpg"/><span>Esteé1</span></div><divclass="slide"&...
asked by 06.05.2018 / 02:31
2
answers

How to validate password through JavaScript

I have a form that I need to confirm if the fields, NovaSenha and CNovaSenha, are the same. Only if the two fields are the same as the system will allow from the post to the file_exchange.php If it can be with jquery, it's even better. I accept...
asked by 25.08.2014 / 19:38
1
answer

Dynamic calculation

I have 6 inputs and when I type a percentage value I need to recalculate the value of the following, but if I change some value from another field it needs to recalculate the remaining ones so that the sum of the inputs gives 100%; > <!D...
asked by 11.08.2017 / 14:00
3
answers

Percentage Mask

I need a percentage mask with the jQuery Mask Plugin v1.5.4 library. What I'm trying to do is that the user can report a value from -99.99 to 99.99. I'm trying like this: $("#edtPercentual").mask("99,99%"); $("#edtPercentual").on...
asked by 10.08.2017 / 14:34
2
answers

How to make two events not fire at the same time

I need to make a menu that when I click the button it appears and when I click it it disappears. Home The problem I've been facing is that the event to make the menu disappear is the same as it appears, so it goes into a small loop. How do I not...
asked by 05.09.2017 / 21:46
3
answers

Javascript remove () does not work

See the script below. Why does not remove() click? I recently posted on this link: post something similar, but in the other case, the problem was because the button was inside a form, but this time there is no form on the page I already...
asked by 26.08.2017 / 00:56
4
answers

How to get PHP session id with jQuery?

You know the code PHP generates, which is PHPSESSID ? I would like to know if I can get this value with jQuery and store it in a JavaScript variable.     
asked by 15.12.2017 / 05:39
4
answers

Show table on page after clicking a button

I have the following table: <table width="100%" class="table table-bordered table-hover table-responsive table-striped" id="empenho_solicitante"> <thead> <tr> <th colspan="5"> +---------------------------------...
asked by 14.12.2017 / 20:12
2
answers

onclick () on elements generated through ajax?

I'm trying to use a onclick event on <li> generated through a ajax() form. I have the following code $(".option").click(function(){ alert(); var text = $(this).attr("href"); window.location.href=href; }); In...
asked by 19.12.2017 / 20:35
2
answers

Required field message with jQuery

People I did a validation that when the user does not fill the input my button is disabled more wanted to display a message to inform the user that the field should be filled it is possible to do this if yes they could help me follow my c...
asked by 08.08.2017 / 14:52