Questions tagged as 'javascript'

0
answers

Paste log next and previous MongoDB

I have a endpoint that returns all the data of a post , but I would like to get information from the next record and the previous one to have two buttons ( Anterior and Proximo ). My current query is like this route...
asked by 16.07.2018 / 20:18
1
answer

Bootstrap-3-Typeahead does not list options

I'm using Bootstrap-3-Typeahead plugin that should work simply. My server-side method is correct, bringing the selection options but not list. From what I read in git, neither does it need extra css, but not list. Follow my code: $("#pes...
asked by 16.07.2018 / 22:54
0
answers

3d effect on building windows

How to make this effect of windows out more and more inside? ThegambiIhavesofar: body { padding: 0; margin: 0; perspective: 900px; perspective-origin: 100% 100%; } @keyframes rotation { from { transform: translateZ(-1000px...
asked by 16.07.2018 / 22:45
0
answers

I need to generate a pdf with one image per page

createpdf(){ var date = new Date() var pdf = new jsPDF('p', 'mm', 'a4'), margin = 0.5, // inches on a 8.5 x 11 inch sheet. verticalOffset = margin var logoImage = '/images/logo/logo1.jpg' *convertImgToBase64(logoImage, functi...
asked by 16.07.2018 / 23:16
0
answers

How to send an F11 in an open page in IE8.0

I have a problem, the company I work with uses IE 8.0 browser in windows XP, I have a code that sends an F11 command in javascript works on any browser but in that specific does not run you have any suggestions for me I am doing to run the code...
asked by 16.07.2018 / 18:42
0
answers

Print combinations possible javascript

I made the code to create arrays with the possible combinations for a system I'm developing, but what happens is that if a number of combinations exceeds the memory, I want to know if I can not separate this code in parts or if you have some way...
asked by 16.07.2018 / 17:10
0
answers

$ rootScope emit needs $ timeout, why?

Good afternoon guys, Let's assume that I have a blabla.html page (with its controller / component / sass), which makes use of a < test-component > . On the controller of this < test-component>, I'm calling a particular service. After en...
asked by 16.07.2018 / 19:24
0
answers

Add earnings from the same employee

I'm trying to add up all the earnings of an official (cumulative sum), but I can not. The code is below: function teto() { var ss = SpreadsheetApp; //seta a planilha var planilhaAtiva = ss.getActiveSpreadsheet(); //torna-a ativa var...
asked by 15.07.2018 / 22:37
1
answer

Add color to text in javascript [duplicate]

Hello, I have a problem, I need to add a color to a text that is added inside a textarea with a button. I've tried using x.style.color="red" "... But it did not work, if anyone has a solution please introduce me. Follow the code: <b...
asked by 18.07.2018 / 20:40
1
answer

Colored cubes on the outside but not on the inside

I made a cube, I painted the sides (left, right, up and down) and put a border, it was very similar, however, since it has no front and back, you can see what's behind the border It seems that, looking from the outside, it is pinned as expect...
asked by 18.07.2018 / 20:00