Questions tagged as 'jquery'

2
answers

How to select input with checked checked?

I have this code: <input type="radio" name="rankeamento_por" id="rankeamento_por2" value="PROC_MEM_KB" checked> MEMORIA <input type="radio" name="rankeamento_por" id="rankeamento_por" value="PROC_CPU" > CPU <input type="radio" n...
asked by 09.05.2018 / 15:26
3
answers

window.close does not work

I'm implementing Dialog for Jquery UI in my application. When the dialog is closed it should close the current window using the window.open(); method of javascript. However this does not occur, and the following error is still displaye...
asked by 18.09.2014 / 22:30
3
answers

mascara and form validation

I'm a beginner in programming, how do I insert a mask and a cpf validation in this script? It can be php or jquery. <h2>Novo Cliente</h2> <form action="add.php" id = "formCandidate" method="post"> <hr />...
asked by 21.01.2018 / 15:49
4
answers

How to get height of a div by jQuery?

I have a small jQuery script for loading the page, a calculation based on the height of a div is added, and then a margin is added for the result. The problem is that you are not getting the height value of this div . In case, th...
asked by 01.10.2014 / 16:02
2
answers

Why does $ .post () not return an object?

I have a function something like this: $('#btn-load-more').click(function(){ var key = $('#hash').val(), limit = 0, i = 0; setTimeout(function(){ $.post('api', {type: 1, limit: limit, key: 128921}, function(res){ co...
asked by 30.05.2017 / 02:41
1
answer

Doubt: $ .ajax () or $ .get or $ .post ()?

Hello In my project, the user makes a registration by entering user, email, link 1 (http) and link 2 (http). I save this data in a database. In the verificalogin.php page, I check if the email and password are correct and if they are, I re...
asked by 01.05.2017 / 16:57
2
answers

Selecting Bootstrap Attributes

Well, I'm having trouble selecting an attribute of a certain element of bootstrap with jquery , for example: <ol class="carousel-indicators"> <li data-target="#carrossel-principal" data-slide-to="0" class="active">...
asked by 16.02.2017 / 11:44
2
answers

How to change the type of text in a list with JQuery?

How can I make an effect on the text inside the lists with JQuery? For example, when the mouse rolls over the text in the lists, the color becomes clearer and the text is underlined. p { line-height: 1em; } h1, h2, h3, h4 {...
asked by 13.12.2018 / 21:21
3
answers

Effects with jquery

I'm having a question, I use jQuery effects like this: $("#elemento").toggle(2000); I gave a look in the documentation but I'm not figuring out the right way to do it, I need an event where it starts from right to left. And with 'toggle' I...
asked by 16.12.2016 / 21:59
3
answers

Get content inside multiple divs

You need to grab the contents of several div's with equal classes. For example: <div class='conteudo'> <li>Conteúdo 1</li> </div> <div class='conteudo'> <li>Conteúdo 2</li> </div> <div cla...
asked by 04.12.2016 / 19:37