Questions tagged as 'jquery'

1
answer

how to use callback in window.print ()

Well I created a jQuery print function, when it runs it hidden from the menu div and prints the page. It works perfectly, but in some browser like IE and the iPhone safari it does not work. I noticed that the error occurs because of the funct...
asked by 07.02.2017 / 17:57
1
answer

How to pass parameter to modal, consult Mysql and give html return

I am trying to pass a variable to a modal, perform a query to give a return on html , as the data will come in a formatted table. I tried some suggestions as alternatives, but I'm having trouble making the thing work, I have this line that...
asked by 06.02.2017 / 14:35
3
answers

Lock event click on element

I have a JS function that displays banners on my page if it is the first access of the day. In that popup there is an input for the person to enter with the email of it, but when clicking on the input, all the pop disappears (in fact this is the...
asked by 06.02.2017 / 14:32
1
answer

Dynamic change in an element when resizing the window

$(document).ready(function(){ var heightJanela = $(window).height() + "px"; $("#banner-hold").css("height",heightJanela); }); I made the above code so that when the document is loaded, the div "banner-hold" gets height eq...
asked by 03.03.2017 / 19:07
1
answer

Wordpress Function Enqueue - I can not add Jquery in theme

I'm trying to add jquery to the theme, all css and js that I place in function are usually added to the code, but the jquery that is in my theme directory is not being added. The file exists in the same folder as /js/bootstrap.min.js fu...
asked by 17.01.2017 / 14:06
1
answer

ProgressBar does not update according to request XMLHttpRequest - Jquery / Asp.net

I'm building an application to upload videos and photos, and I'd like to put a ProgressBar to show the progress for the user, I found some questions to answer (#), but I'm having a bit of trouble understanding, so I could not do the Prog...
asked by 13.01.2017 / 13:54
1
answer

Send a textarea when pressing enter with JS?

I'm having problems with my application because I have two types of textarea on the same page. One creates the post and the other creates the comment for this post. The following code submits the post textarea: document.onkeyup=function(e){...
asked by 26.02.2017 / 03:17
1
answer

Helped to pass an array via Ajax (post) to MVC 5 controller

I have this code that is generated dynamically by javascript. Simulating a grid <tr class="produto"> <td class="info-CodBarras">123</td> <td class="info-Des...
asked by 24.02.2017 / 22:52
1
answer

Handle the Scroll event in Jquery

Good afternoon, I have a Navbar that starts transparent I hedge this via query: $( "nav" ).css('border', 'none', 'important'); $("#hamburguer").css('background-color', 'transparent', 'important'); So far beauty, but when I go down I want...
asked by 26.02.2017 / 17:57
1
answer

Javascript does not receive json response from Laravel

I'm trying to get Javascript to get the data sent by the server and play on the alert. But it always comes undefined. I have already looked at many topics on the internet and found nothing wrong with the code. In theory it was meant to work. Can...
asked by 02.03.2017 / 17:45