Questions tagged as 'jquery'

1
answer

When closing modal return to the source form passing parameters

I'm doing a query on my DB in a janela modal , now after the query is done, I need to click a button to send the selected parameters to the calling page and to play those parameters in some inputs , I had previously done this using a...
asked by 25.11.2016 / 14:11
0
answers

How to redeclar a function after loading new content with Ajax?

I need to assign to new elements loaded via an ajax request this function bloginfos () . Is there a more elegant and professional way in my code to do this? $("#frm_busca_projetos").on("change", function(){ var termo = $("#termio").val();...
asked by 21.11.2016 / 02:56
1
answer

CSS / jQuery - How to select the next element after 'main'?

Basically, I'm giving a margin-top in the first content after the header, according to the size of the header. The problem is that every page in the site has different elements after the main (div or section). How can I select the 'child' ele...
asked by 25.11.2016 / 03:57
1
answer

Responsive mouse events with canvas?

I have the following code: var block = false; var context; var drawing; var rect; $(function() { context = $('#canvas')[0].getContext('2d'); drawing = false; rect = $('#canvas')[0].getBoundingClientRect(); $('...
asked by 21.11.2016 / 16:23
1
answer

Filling in a div using each Jquery

I have a modal that renders a partialView and I want to pass from this modal to screen view main a dynamic list of listed objects that are selected by the user $(".corpoPedido", parent.document).text($(".lista.active").eac...
asked by 21.11.2016 / 17:19
1
answer

Detect "download event"

I'm providing a link to download XML files: <a href="http://exemplo.com/link" download=""> Baixe o XML do pedido </a> However, because it is a bit slow processing due to the number of functions needed, I would like to put a...
asked by 18.11.2016 / 12:13
2
answers

How do I get the select back to the initial state after the deselect?

How can I make a return to the "start state" when I deselect a specific select option? Here is a simulation of my problem: link     
asked by 23.11.2016 / 21:05
1
answer

Insert value in javascript from php-mysql

Hello, I'm not programmed, but I'm doing a site where I want to put a counter to determine what will be the expiration of the registration of the site. I used the 3D Cube Countdown script, but I would like the date to come straight from php-mysq...
asked by 01.12.2016 / 15:12
0
answers

Problem with verification in my jquery

I'm setting up a menu that by right clicking on the 'tr' of the table it opens, and when clicking with the mouse for more than 1 second it should also open. The checks are correct as per the log, but the menu only opens with the right button....
asked by 15.12.2016 / 18:40
0
answers

Tab system in jquery

I'm setting up a tab system, it works perfectly, but when I open it on a cell phone it gets all messed up. I wanted to leave it the same as Android, when it has many tabs it creates a scrollbar. Can anyone help me with this? $(documen...
asked by 16.12.2016 / 11:56