Questions tagged as 'jquery'

1
answer

How to save an image generated by php gd?

I'm trying to use jcrop + php gd to make image cuts and save in another directory but I do not know what the problem with my code is: <?php if ($_SERVER['REQUEST_METHOD'] == 'POST') { $targ_w = $targ_h = 150; $jpeg_quality = 90;...
asked by 21.07.2015 / 17:40
1
answer

How to stop in a function through the console?

I would like to stoke a fadeIn () during its execution so that the screen stays exactly as it was the moment I stopped. The ideal would be something generic, that works for fadeIn, slideUp, slideDown, setTimeout etc. Is it possible to do t...
asked by 15.05.2015 / 14:55
3
answers

How to use my jQuery extension in the on function?

In jQuery, I know you can extend and create functions for certain types of operations through $.fn . So: (function ( $ ) { $.fn.clickOut = function (callback) { var that = this; $(document).click(function (e) {...
asked by 16.10.2015 / 16:14
1
answer

turn blob into text and do reverse function later

I am using a script that results in audio / video in blob format, you need to upload it BUT I would like to convert it to text so that the execution of a function apart is not harmed. And when it arrives on the server and return to a user who is...
asked by 08.03.2015 / 15:57
1
answer

Highcharts: how to make the graph appear even without data?

I've integrated the Highcharts chart with a tree. Then, when you select a hierarchy in the tree, the chart automatically loads with the selected information. But when there is nothing selected in the tree, the graph disappears. Would you like...
asked by 20.10.2015 / 14:04
1
answer

Error hiding div by option selection in form with javascript [closed]

I have a javascript function with jquery that hides divs when an option is selected. It works almost perfectly, but when you return to a previous option, once you have chosen an option that opens div, the div that was opened before does not disa...
asked by 06.04.2015 / 19:48
4
answers

Bootstrap Modal on Modal by JS

Good afternoon, I saw several examples on the internet of a modal opening on another modal with the bootstrap, but none of them using javascript. Can not open a modal over the other with the bootstrap using javascript?     
asked by 13.07.2015 / 20:06
1
answer

Close Menu-Off-cuts when clicking away

How can I do it, so when I click on the white area after the menu is open, can I close it? The same way it runs when I click the "x"? $(function() { $('.toggle-nav').click(function() { toggleNav(); }); }); function toggleN...
asked by 16.07.2015 / 18:39
1
answer

How do I get the distance from the scroll bar to the top of the page in Internet Explorer?

In other browsers with you $(document).scrollTop(); But in IE this always returns 0;     
asked by 25.02.2015 / 22:28
2
answers

Converting values for calculation in JQ

How can I convert the value of an input 1,11 to 1.11 so it can be added to other values? This in jQuery. My input has a mask for values in reais.     
asked by 11.06.2015 / 22:31