Questions tagged as 'jquery'

1
answer

Search system with on-demand loading

I have a search system with load on demand with php and jquery, I can search for letters correctly, and do the load on demand correctly, the problem is that when changing the letter to fetch, it loads the data of the new letter together with the...
asked by 29.03.2018 / 23:28
1
answer

How to loop in jquery as soon as you load the page?

Save yourself! I have a drawing of an arrow, and I would like it to move down and up without stopping, from the moment someone uploaded the page. $(document).each(function() { $('#seta').animate({top: "100px"}, 1000 ), $('#seta').animate(...
asked by 29.03.2018 / 08:53
1
answer

How to get the value of a php variable and use it in the ajax request

I am creating a order page with the code below, what I want is that when I choose the quantity of the product, it already appears the total value of the product x quantity . If I set the var price_prod1 = 10; value to work, but in the s...
asked by 07.03.2018 / 21:13
2
answers

How to enable and disable an input of type text after a selected value in the combobox

My jQuery < script > $(document).ready(function() { var tipo = $("#idTipoParticipante option:selected").text(); if (tipo == 'Personagem') { $("#enable").click(function() { // habilitando...
asked by 08.06.2016 / 11:01
1
answer

Function with delay

My scenario is as follows, I have a link and would like it after clicking it after 3 seconds submit a form. I'm trying the following <a href="" target="_blank" id="acionabotao">Link</a> <form method="post" action="acao.php"&g...
asked by 31.03.2018 / 02:48
1
answer

Send variables via GET by php Ajax

I'm creating a page in PHP that does a query in a JSON / PHP via ajax and I need it to send to the URL, form variables so I can do a query in this JSON / PHP. HTML: <form method="GET" name="formularioBusca"> <input type="text...
asked by 10.03.2018 / 15:45
1
answer

Replace value after tag, but within div

I have the HTML code, and I need to do the decimal substitution at the end of the div, the project is doing a reverse proxy for a site, and I have to put the value of the "changed" tag in the place where the "11.00 " the HTML is this: <div...
asked by 01.03.2018 / 15:37
1
answer

Go to the "home" page [duplicate]

How can I do this through a javascript function, which activates the "Home" command, ie the page jumps to the top of it? Example: A button that is clicked at the bottom of the page redirects overflow to the top.     
asked by 01.03.2018 / 16:43
1
answer

How to select a specific HTML tag when there is no id or name and (rarely has a class) using jQuery?

I have the following HTML code: <div class=""> <table> <tbody> <tr>TITULO DO BOX</tr> </tbody> </table> <table class="classeTable"> <tbody>...
asked by 02.03.2018 / 14:02
2
answers

Generate multiple records in MySQL

In MySQL I have two tables: CLIENTS | codigo-cliente | nome | grupo | valor | |----------------|------|-------|-------| FINANCIAL | codigo-cliente | codigo-boleto | grupo | valor | |----------------|---------------|-------|-------|...
asked by 02.03.2018 / 04:16