Questions tagged as 'javascript'

0
answers

Image Resolution created with canvas

Good afternoon everyone! I'm developing an application that does the scanning of a chip with several digital ones, where it is possible for the user to make cuts in these digital ones and then save them in the BLOB database. To do the scannin...
asked by 24.11.2016 / 17:45
1
answer

How to force the download of a pdf?

I have a PHP and HTML application of a registration form, how do I download a select as an example: Clicking on yes, it downloads according to a link that does this (download) in pdf format. Follow the print for more information and the script a...
asked by 19.12.2016 / 11:43
2
answers

Remove loader after the page has fully loaded

I have a custom loader that appears on the screen while loading. When I finish I need this loader to disappear, so far so good. The problem is that the page is still doing some processes with jQuery and the loader div disappears, giving the effe...
asked by 11.12.2016 / 15:25
1
answer

How to make a combobox insert text depending on the choice?

I'm using the help of a post here from OS . The difference is that instead of having several options to choose from in the other combobox, I only have one option in the database, which should already be entered in the input, when selecting t...
asked by 14.06.2017 / 17:26
1
answer

Stopping the animation of a carousel

I have a problem with cars using jQuery:    I can not get it to stop transitioning images at the click of a button. Follow the code: $('#slide img:eq(0)').addClass("ativo").show(); var text = $('.ativo').attr("alt"); $("#slide").p...
asked by 16.06.2017 / 00:59
3
answers

How can I simplify access to the values of interest of a Javascript JSON?

Context: I am developing an application that consumes several APIs. The JSONs returned by these APIs have their own structure, which is often not the most intuitive for the programmer to exploit. / p> Example: Suppose I am using an externa...
asked by 21.06.2017 / 02:52
1
answer

how can I reduce this line of code in javascript? [closed]

I have a file like this: <html> <script> var a = document.createElement('script'); a.src = 'js/index.js'; document.getElementsByTagName('html')[0].appendChild(a); </script> </html> I have a folder called js, in...
asked by 12.05.2017 / 05:27
1
answer

how to remove an append

I would like to know how to remove only the append that was cleared by checkbox , because in my code when I select a certain checkbox it adds a append of a img and when I click again on it it removes this app...
asked by 19.10.2016 / 23:00
1
answer

Masks in form fields in woocommerce

I have a problem that I think is a simple solution, but as I am a layman in javascript and jquery would like a help from you. I inserted two new fields into my woocommerce login screen, these fields for mobile and cpf, both of which I would n...
asked by 23.10.2016 / 03:33
0
answers

Phantomjs I can not assign value to a property of an array of objects

I'm creating a script that takes links from a phantomjs site. My idea is to store in a vector the link with its innerHTMl and then I need to modify the link, but when I modify it later I can not. My code: var player = 0; var links = page.ev...
asked by 26.08.2016 / 17:50