Questions tagged as 'javascript'

1
answer

Run angular function within jQuery

I'm doing an application in angular, I want to make that when the user's scroll is up automatically download more posts (that is done by pressing a button, but not automatically when your scroll is down). With jquery I make it execute something...
asked by 22.10.2018 / 20:07
0
answers

Is it safe to use the Rest API of Google Drive from the client browser with javascript?

I have a web application with a database on a VPS with Ubuntu. The idea is to save with the transfer of data that they charge, placing the images of the file of articles in Google Drive, where they do not charge for the transfer of data. However...
asked by 22.10.2018 / 23:08
1
answer

Adapt canvas to the screen

I have a canvas with phaser with the following dimensions: game = new Phaser.Game(480, 600, Phaser.AUTO, ""); This I show on the computer and there is no problem, it is the measurement I need, but when I visualize it from the mobile I would...
asked by 23.10.2018 / 21:17
0
answers

How to code and decode strings with JS saving number of letters, without base64?

because I have the need to encode or decode string saving letter sizes. For example, if I have   "Este_es_un_string" and I would like to code it to give a result for example sT1M-0AA4eD . I was thinking of something like deleting...
asked by 23.10.2018 / 21:40
0
answers

Stop a scam in real time on firebase firestore

I have this problem: I am doing a real-time query to firebase firestore in javascript my code is this: first = db.collection("messages") .where("codeConversation", "==", codeConversation) .orderBy("date", "desc") .limit(25); f...
asked by 28.10.2018 / 23:44
0
answers

Create a variable map in BIRT

I have a created report, where to assign headers to a table, I would save many lines of code having a map, the problem is that it always fails to create this variable. I have even tried to create them as they come in internet examples, in case i...
asked by 29.10.2018 / 08:49
0
answers

Colorbox and select

I have the following code, whose objective is that when selecting a select option, open a colorbox with information. The select is in a pivot table and replicates. The problem is that only the url of each option works in the first row, in the fo...
asked by 23.10.2018 / 13:07
0
answers

How to send some parameters to a method with encodeURL, javascript?

Good day, I have the following variables that I must send as parameters to a method var idPedido = localStorage.getItem("IDPedido"); var tipo_envio = localStorage.getItem("Tipo_Envio"); these variables are sent to the confirm...
asked by 24.10.2018 / 18:18
2
answers

Error Uncaught ReferenceError $ is not defined

I have this code, where I mark error in this line $ ('# delete-contract-select'). on ("click", function () function deleteCbContrato(id_tipo_contrato){ $('#id_tipo_contratoDelete').val(id_tipo_contrato );...
asked by 24.10.2018 / 19:16
0
answers

How to send 2 send to a servlet by the post method

I wish I could get your help! I'm wanting to load a grid and a drop-down list on my HTML page, I'm doing it from javascript but having a servlet as a controller since it's a didactic project, the problem arises when I have a switch with the flag...
asked by 05.11.2018 / 02:51