Questions tagged as 'javascript'

1
answer

With identifying if the access is internal or external?

I have an application in asp.mvc that has 3 (three) access types, 2 internal and 1 external. Internal access is done by LDAP and the external one by a user table. No entanto o usuário externo também pode está na rede interna.(aqui é a xarada)...
asked by 14.05.2018 / 14:47
1
answer

I have a problem with a script

Good code: <!doctype html> <html><head> <meta charset="utf-8"> <title>Documento sem título</title> <!-- PLUGINS --> <link href="/plugins/animate/animate.min.css" rel="styleshe...
asked by 07.01.2018 / 11:52
2
answers

Enable button when the last request is executed successfully

I have a table with multiple records with their respective information and ids . When I click on a button I make a request via post and Ajax individually from that row of the table. But I have another button that scrolls the ent...
asked by 08.01.2018 / 03:25
1
answer

(javascript) function returning undefined [duplicate]

I'm trying to return a value from one function to another, get_Positions () has to get the lat and lng from parseJson (date), it's just returning undefined.  I want to get these two values from within get_Positions (). get_Positions();...
asked by 06.01.2018 / 07:36
3
answers

JavaScript or jQuery - Remove attribute pseudo elements

.btn-group-vertical>.btn-group:after, .btn-group-vertical>.btn-group:before, .btn-toolbar:after, .btn-toolbar:before, .clearfix:after, .clearfix:before, .container-fluid:after, .container-fluid:before, .container:after, .container:...
asked by 05.01.2018 / 20:35
2
answers

How to simulate Login using JavaScript

Hello, I would like to simulate a login, basically when a certain email and password chosen by me are inserted the script will login with display:none; and another div that I still have to create with display:inline; Here is the...
asked by 06.01.2018 / 23:17
2
answers

Datepicker does not apply changes made

I'm using the bootstrap datepicker, but when I make some modifications they do not apply var defaults = $.fn.datepicker.defaults = { autoclose: false, beforeShowDay: $.noop, calendarWeeks: false, clearBtn: true,...
asked by 13.12.2017 / 19:18
4
answers

Create floating button that accompanies the scroll of a table

I need to create a floating button that accompanies my scroll as I'm rolling, and in it I want to put a function back to the top. #voltarAoTopo { float:right; z-index:0; } <button id="voltarAoTopo"> <i class="material-icons...
asked by 07.12.2017 / 20:40
2
answers

How to assign the callback variable "cursor.toArray (err, doc)" to an external variable?

var result = []; var user = db.collection('user'); var cursor = user.find(); cursor.toArray(function (err, doc) { result = doc; }); console.log(result); // console -> []     
asked by 10.12.2017 / 16:31
1
answer

Google Map does not appear

The google map is not showing up on my site. Code: <div class="row"> //O ERRO OCORRE QUANDO INCLUO A DIV MAP DENTRO DESSA DIV ROW <div id="map" class="col-6"></div> <div class="col-6">teste</div> </d...
asked by 10.12.2017 / 21:21