Questions tagged as 'jquery'

2
answers

Resizing DIVs with Jquery

Well, I have a 'cont' id div, this 'cont' div has a height of 300px, and within the 'cont' div there are 3 other divs of the same class called 'box' where each div has a height of 100px , inside each div 'box' has another div of the same class,...
asked by 02.06.2014 / 03:43
2
answers

Script open only after specified time

I have a script, however it opens as soon as it is loaded. I would like to have it run after 10 seconds and open along with my div, it looks like this: <div id="mame"> CONTEUDO </div> <script> var div = document.getEl...
asked by 06.03.2016 / 22:36
2
answers

Function jQuery match, how to get the matches

How can I get matches using the match function? console.log($("COMMANDO database -> run []").match(/COMMAND\S*(.*)\S*->\S*(.*)/g)[0]); In theory I would have to get database , run and what's inside []     
asked by 23.12.2014 / 15:05
2
answers

Click event not working

<html> <head> <title>Notícia</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <a class="noticia" data-noticia=...
asked by 11.03.2015 / 14:28
5
answers

Popup with AJAX and jQuery

I need to open a popup with the information in my database when I click on a certain item in a grid that I'm displaying on the screen. How do I display this popup ?     
asked by 07.05.2014 / 15:33
2
answers

How to improve code workflow without using synchronous ajax?

How can I improve this script? The function copiaArea() should get the first return from the array and send it to the windows clipboard, detail: I'm developing for IE, it works exclusively in this function. However, the global var n...
asked by 15.05.2014 / 16:53
3
answers

Pick up button id

How can I get the button id pressed, since the buttons are automatically generated with php and do not have their id set, I need the button id to do a SQL query with php, Code that generates the button: while ($linha = mysqli_fetch_array($...
asked by 08.12.2016 / 12:57
2
answers

Error catching attribute 'checked'

JQUERY $('#caption-item-1').click(function(){ if($('#boleto-input').checked == true){ $('doacao-proximo-1').css({'display':'inline-block'}); }else{ $('doacao-proximo-1').css({'display':'none'}); } }) HTML <l...
asked by 31.01.2017 / 12:21
3
answers

Make field required depending on the answer

I have a medical form, and the following change was requested: If field 1 is checked = 1, make field 2 mandatory. If not checked do not make it as mandatory. Could anyone help me?     
asked by 01.02.2017 / 16:51
1
answer

Add and show tooltip

How do I add a tooltip to an input and make it active using js? (I'm using twitter bootstrap)     
asked by 20.07.2015 / 03:41