Questions tagged as 'jquery'

1
answer

How to get the full size of the screen even though the browser window is resized?

I can get the size of the browser window through the following code: $(window).height(); However, this method takes the current size. I would like to know if I can get the full size of my screen even if I resize it.     
asked by 17.12.2015 / 20:44
2
answers

Like counter with JS / Jquery?

I have several cards in one page and each card has a tanned option of facebook, when I click on the image the counter increases by 1, but it counts on all the cards and not only on what I clicked and also every time I I would like a user to clic...
asked by 05.01.2016 / 13:04
2
answers

DIV only clickable if RADIO is selected

I would like my <button id="bottaaoPA">Comprar</button> to only be clickable if radio was checked. Code: $(function(){ var contador = 0; $('.pa').click(function(){ if(contador === 0) {...
asked by 25.01.2016 / 19:55
3
answers

I wanted to know how to do for each page refresh .class to be moved

Example: Normal Order class 1<br> class 2<br> class 3<br> .<br> .<br> .<br> class10<br> I want to put in order to each refresh Example: class 3<br> class 5<br> class 1<br> .&l...
asked by 14.01.2016 / 14:47
1
answer

How to send all form fields with $ .post?

I have a form with 2 fields, User and Password. $.post('recebe.php',{ 'Nome:'Meu Nome'' 'Senha:'Minha Senha'' },function(data){ alert(data); }); Is there a way to get the name and value of the inputs and do POST without typing e...
asked by 23.06.2014 / 05:36
2
answers

Call Java method in Javascript

I have a problem, and I needed to call a Java method inside a Javascript file. Java example: public void Inserir(User user) { //insere usuario } I need, via a .js file, to send the object to the Java class responsible for the Insert...
asked by 25.06.2014 / 16:50
1
answer

Convert Html to Canvas

Is it possible to convert an html page to canvas? For example, do I have a page built in html5 and I wanted this page to be "minified" for just one tag? I do not want the html page to be rendered image. Ps .: Question at the level of knowledg...
asked by 06.04.2016 / 00:43
3
answers

Make a rest screen with Jquery

I need to do a rest screen, when the mouse is stopped for a few seconds open the rest div , I tried this without success: <script type="text/javascript"> $(window).mousemove(function(event) { clearTimeout(timer); timer = setTimeou...
asked by 02.05.2014 / 06:34
2
answers

Check jQuery variables?

Is there a smarter way to write this verification code, IF ? jQuery("#oformulario").submit(function(){ var nome = jQuery("#nome").val(); var email = jQuery("#email").val(); var telefone...
asked by 09.08.2014 / 20:41
2
answers

Change jQuery function

I'm having a problem with a jquery code, I found a code almost perfect for my use, however, it has a function that does not fit me and I can not disable it. This function is when I click on some column of thead (the ones that have two sets),...
asked by 15.10.2016 / 09:19