Questions tagged as 'javascript'

0
answers

How do I identify users with physical token (USB), can I use javascript or ActiveX?

I need to identify a user to validate some reports. The idea is: User clicks a button and at this time I check if it has the credentials that will be a USB token. It does not have to be at the eCPF or eCNPJ level, it's a simple check to...
asked by 03.10.2018 / 14:27
1
answer

How to set a background with Jquery

I am modifying a very old panel of the system and I need to add a new div and set a color according to the ajax return. setInterval('carregarProximo()', 3000); function carregarProximo(){ //$("#id_chamada").load(baseUrl+"/chamada/b...
asked by 03.10.2018 / 16:02
1
answer

Hiding and displaying a form using a link

I have a link and a form that needs to work as follows: When I click on the link, the form is visible and one more click on the form link is hidden. classe of the link to hide and display the form is: menu_propaganda_guia_comerc...
asked by 21.07.2017 / 01:05
0
answers

How do I delete a song in my library using the Spotify API?

I have the following code: $.ajax({ //url: 'https://api.spotify.com/v1/me/tracks?ids=1ftBvRj542ol7LT1A0EtL7', url: 'https://api.spotify.com/v1/me/tracks', meth...
asked by 03.10.2018 / 16:34
1
answer

How to retrieve a startup value from a plugin?

I'll expose the specific problem, but I've always had this doubt in a general context: I've initialized the owl carousel plugin. I had to implement a progress bar on it. However, I need to tell the transition speed = the autoplayTimeout paramete...
asked by 03.10.2018 / 15:42
1
answer

How to handle ERR_CONNECTION_TIMED_OUT error in webscraping using a list

I'm learning node.js and got with the help of @Sorack joking with a webscraping. With respect to the code the following happens when the statusCode of the page is equal to 200 the page returns the information and generate it in the file as re...
asked by 02.10.2018 / 22:12
0
answers

I can not run 2 javascript scripts on the same page

I made a script in javascript to add and cut an image of an input, it worked perfectly, the problem is when I try to do the same for another file that is loaded on the same page, the first script stops working and only the second works. HTML...
asked by 08.10.2018 / 05:53
0
answers

get the data-value with JavaScript [duplicate]

I'm trying to get the value of the date field from a select, but I'm not getting it. Only the default value field I'm getting. The field in select is as: "data-value2" Using .valor2 HTML:<selectonchange="verificaHierarquia(this)"...
asked by 02.10.2018 / 17:48
0
answers

Problem Setting Up Google Maps API

I can not configure the Maps API, I've already put my keys and everything else but it will not. <!DOCTYPE html> <html> <head> <title>Simple Map</title> <meta name="viewport" content="initial-scal...
asked by 02.10.2018 / 04:31
1
answer

How to name each row in a url list

Can I name each line in the url list, to return the nickname I gave it to? Type so the result was this: Prefeitura Municipal de Bocaiúva do Sul | PRONIM TB 518.01.07-013 | Prefeitura Municipal de Matinhos | PRONIM TB 518.01.04-000 | | PR...
asked by 01.10.2018 / 22:25