Questions tagged as 'javascript'

1
answer

How to access a specific header from an http response?

I have a Rest API in Java, which makes use of JWT to authenticate users and generate tokens to access their resources. I have an application in AngularJS, which should consume these resources, but I must first request a token in the API. I would...
asked by 26.08.2017 / 14:01
1
answer

Remove locations and bus stops / stops from Google Maps

I have this code: <script> function init() { var myLatlng = new google.maps.LatLng(34.04, -118.24); var myOptions = { zoom: 13, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map =...
asked by 07.07.2017 / 19:04
1
answer

Get IMEI via Javascript

Is it possible, through a web page, to get the IMEI of the mobile phone of the user who uses javascript or something else?     
asked by 23.07.2017 / 02:31
1
answer

Riding an arena on canvas

I'm building an arena using resources of HTML/JS with canvas . I have the following code: function montarArena() { var canvas; var heightCanvas = 498; var widthCanvas = 598; var qtdLinhas = $('#larguraCa...
asked by 28.07.2016 / 07:28
2
answers

Live video playback using websocket

I would like to stream a video that is in my database (MySQL) and would like to know if it is possible to play live media content using websocket, and if that is how I could build? I have in mind that I will use html5 and JS and a back end langu...
asked by 01.08.2014 / 17:15
1
answer

About size verification

I have already found several explanations about, but not conclusive. Is it possible to determine the size (in bytes) of an image after it is loaded and using Javascript? Apparently browser security would prevent us from pulling this information...
asked by 16.07.2014 / 15:57
1
answer

Smooth scrolling on page

I would like to know how I can do that once I click the link of a page in the main menu, the page will gently scroll to the desired page that was clicked? Example: link I wanted an example using links, there is a question using buttons h...
asked by 06.07.2014 / 06:31
1
answer

Validate forms and generate dynamic pages

I use javascript to validate forms with php + html, in the face of constant changes (changes in language and technology) currently javascript is still recommended for use or there is already a possibility to replace javascript with another clien...
asked by 29.08.2014 / 02:36
1
answer

Identification of regions google maps - JavaScript

I have a list of latitudes and longitudes and I would like to find out in which region of the country such latitude / longitude belongs.     
asked by 22.10.2015 / 21:39
1
answer

How do I get the position of a circle element that is inside an SVG via Javascript?

I have an SVG which contains, among other things, a <circle> element. I can manipulate it via Javascript, changing CSS properties as visibility , but I can not get its position on the screen. My idea is that when the mouse...
asked by 12.09.2014 / 20:28