Questions tagged as 'jquery'

1
answer

Go get value to table and put in form

This is the table has the fields the purpose is to click the edit button and clicking the jquery statement that I put above will fill in the fields automatically referring to the line that was clicked This is what I want to get in the recor...
asked by 19.12.2017 / 21:17
2
answers

Start displaying the div at the end of the Scroll [duplicate]

And, folks, blz? I have a div with lists in it. etc... li.intem3 li.intem2 li.intem1 When I load the page, it starts the TOP view of the Div, and I wanted it to start the BOTTOM display, ready, the facebook chat, it starts to display the...
asked by 26.07.2018 / 21:45
2
answers

Column Visibility DataTables

I'm using DataTables to display and export my tables, one of the types of datatables I use and this one here:    link I would like to know if it is possible to set at startup which columns should be omitted and then optionally di...
asked by 04.07.2018 / 14:32
1
answer

Show hide content when clicked on a specific id

Let's say I have two links <a href="#pessoa1">link1</a> <a href="#pessoa2">link2</a> The content shown will only refer to the clicked link and when you click on another link the currently open content will be closed...
asked by 02.07.2018 / 01:26
1
answer

How to move element in a straight line towards the coordinate?

I can move an element in the direction of the coordinate successfully. However, for what I need, it needs to move in a straight line (which is the shortest possible distance between two points). In the example I gave below (which represents t...
asked by 10.07.2018 / 20:04
2
answers

Set loading time for loading

I have the following code that I use to send form data to the PHP file. function loginRequest() { // Declaração de Variáveis var usuario = document.getElementById("txtusuario").value; var senha = document.getElementById("txtsenha").val...
asked by 30.12.2017 / 00:55
1
answer

How do I perform an action when the scroll reaches the top of the page?

I have all the code of a fixed sidebar that works perfectly, however I want as soon as the scroll bar reaches the top of the page, the top itself, an element receives a CSS assignment through .css (). Something in this line: $(window).scrol...
asked by 30.12.2017 / 19:02
1
answer

Problems with PHP date

I'm using the following function to return the date correctly from MySQL to the Brazilian format: function FormatBR($data){ $date = date_create($data); $date = date_format($date, 'd/m/Y'); return $date; } But the return is like...
asked by 14.12.2017 / 01:25
2
answers

How to find and select option with select specific label with jQuery

With jQuery, how do I change the label of an option, not the value, example: <select id="meuSelect"> <option>[nao_selecionar_esse label]</option> <option>[SELECIONAR_esse label]</option> <option>...
asked by 15.12.2017 / 12:29
1
answer

How to focus the input of a form constantly?

I have a form and need to focus on an input again until it satisfies the required, eg: $('#text1').blur(function() { var teste = $('#text1').val().length; console.log(teste); if(teste > 5){ $('#text1').focus(); }else{...
asked by 15.12.2017 / 04:40