Questions tagged as 'javascript'

2
answers

Base64 verification?

I'm doing an email application (HapiJS) and found that some emails have text that is encoded for base64, but others do not. In this application I will need to receive emails from all the services (Gmail, Hotmail, ...) and I need to make a met...
asked by 29.08.2017 / 15:51
1
answer

Video tag inside Slick

I'm having a problem in my project, I installed the slick carousel, I put the images and it worked, however, I added a tag containing the path of the video and the video does not work, just a black screen appears. Follow the code: <body...
asked by 30.08.2017 / 15:44
1
answer

How do I add instead of concatenating [duplicate]

I would like some help. I have the following code: var totalBruto = 0; var tot_desconto_vlr = 0; var total = 0; var totalLiquido = 0; $(document).ready(function () { $(".desc_vlr").on("input",...
asked by 31.08.2017 / 16:45
2
answers

Read JSON and show in html using angularJS

I'm trying to read data from a Json file in html using AngularJS, but I'm not getting it. Here is part of the index.html code: <div ng-app="app"> <div class="page-header" id="principal" ng-controller="HomeCtrl">...
asked by 29.08.2017 / 16:56
1
answer

Make a replace case insensitive in Classic ASP (VBScript)

I have the string below: texto = "Meu texto" I would like to make a replace in the word "My" and return it in bold. The result would look like this: My text However, replace is case sensitive, that is, if I use replace(texto,"meu...
asked by 31.07.2017 / 04:03
1
answer

How to create a 2d animation as if it were a video, vignette or cutscene [closed]

Hello, I'd like to know how to create a complex animation in HTML5 / Javascript. By complex animation I mean non-cyclic animation as usually shown in tutorials. I need to create an animation like a cutscene with images, transformations on the...
asked by 28.07.2017 / 15:49
1
answer

How to use data from a query in mongoDB? [duplicate]

I want to use the data that is returned from 'find ()' from MongoDB to create a table using the array that returns from MongoDB, and after the table is ready, generate a PDF, but I can not get access to the result data outside the connection f...
asked by 27.07.2017 / 15:41
1
answer

Label / Title Posted on marker - Google Maps Api

I'm working with Google Maps Api , and I need to leave the name appearing statically on top / bottom of Marker , I wanted to put this label / title when creating the marker, like title , someone knows a way simple to do this?...
asked by 27.07.2017 / 16:30
1
answer

How to sort by several fields with Ionic and / or AngularJS of a JSON?

I'm trying to sort fields dynamically by Ionic and AngularJs. I started by using the Modal Select plugin with the button like this: <button class="button button-stable button-block icon-left ion-android-restaurant" modal-select="" ng-mode...
asked by 07.04.2017 / 14:51
1
answer

How to set variable within the Match Method (String)

What I want is to include the variable within (/.../) and not its value. Code: var str = 'Seu texto aqui!'; if (str.match(/texto/)) { alert('Palavra encontrada.'); } Instead of manually defining, I want something dynamic...
asked by 25.03.2017 / 13:25