Questions tagged as 'javascript'

0
answers

window.localStorage.removeItem does not work inside the page

Recently tried to use the command: window.localStorage.removeItem('chave'); I just wanted to delete the registry from that key in my local storage. When I tried it on the browser console, I got the expected result, but putting it in a scri...
asked by 29.06.2018 / 20:03
0
answers

Border control and preview of exported file with .wordExport () (JQuery)

Good morning. I would like some help with the JQuery .wordExport () command. I'm able to export html without problems to word document, however, when I open the document, the margins are of the default size of the word instead of the margins...
asked by 11.07.2018 / 14:38
0
answers

Post a file via URL through Ajax on a page with Input File

On a page that contains a button to send images to advertise, do you have to instead click on this button and select an image from my computer, send an image of a URL through Ajax? I'm trying to make a Userscript to integrate my virtual store...
asked by 29.06.2018 / 22:42
5
answers

How to validate with regex a string containing only letters, blanks and letters with an accent?

I want to validate an input text for full name in order to accept only letters, blanks and accented letters.    Valid Formats:   Leandro Moreira   leandro moreira   Kézia Maria   kezia maria   Cabaço da silva   Cabaço da Silva This...
asked by 14.05.2014 / 00:05
0
answers

Connect multiple points in Google Maps (waypoints)

Good afternoon, I am populating a map with multiple addresses of a trip stored in my DB. I would like to connect all these points with a line and I can not. Could anyone help me? Follow my code. <script type="text/javascript...
asked by 10.07.2018 / 22:25
0
answers

Enable Auto complete in Eclipse

How do I enable auto complete of javaScript and Jquery in eclipse.     
asked by 15.07.2018 / 00:27
1
answer

How to remove disabled from a button in different tables using ng-repeat in Javascript?

I have a question about the disabled. I have an array of pessoas that I want to include in an array of empresa . I use data-ng-repeat to display the pessoas in a table, where buttons are added to each row to be added in the...
asked by 15.07.2018 / 05:19
1
answer

checked radio by name and value javascript

I need to mark one of the radio inputs with checked via javascript, preferably using name and / or value for this. <!DOCTYPE html> <html> <body> <input type="radio" name="generoi1" value="fema...
asked by 15.07.2018 / 00:48
1
answer

HTML - Relative path of HTML does not find the files

I have a desktop application with a installer , so the file paths are dynamic , I use a webBrowser in the application to simulate a protocol with HTML, CSS and JS files to be lighter than generating via WinForms . The problem is that HTML i...
asked by 28.06.2018 / 15:18
0
answers

Separate javascript object into groups with 4 items in the click event!

Personal how do I split a javascript object into groups with 4 items each? follows an example of how the array or object should stay, but I would like to know how I can create a function so that when the user clicks a button, 4 of those items ar...
asked by 06.07.2018 / 03:50