Questions tagged as 'javascript'

0
answers

Lock Maps api query to the outside

In this code below I make a query in the address and it returns me some data so far everything is ok. What I wanted to know is? If, like a customer, they enter an address in the United States returns me an "Area Not Allowed" message I want...
asked by 07.10.2017 / 22:47
1
answer

How to update the value of a variable within a callback?

I am creating a module with NodeJS and in this module I created a function that returns a value, this value being updated within a callback function. The problem is that this variable / value is not being updated. I would like to know how to sol...
asked by 07.10.2017 / 04:56
0
answers

How to make an infowindow with different content for each marker in a loop

I'm trying to make each marker in this loop have an infowindow with different content, the arrays are the same size and are being taken from the database, the problem is that instead of creating new infowindow it just replaces the contents of th...
asked by 07.10.2017 / 22:21
0
answers

How to solve a promise in angularjs

I have the following onLogin function and within it I have a promise being called in LoginService how do I pass a unit test on this promise? function onLogin(e, args) { DebugMode && console.info('[INFO]', 'Login requested...
asked by 06.10.2017 / 21:03
1
answer

Animation and Transform Rotate with reference point

I'm having a question if you can do the following functionality: I did a drag and drop encoding only in a specific area (The pink area) The red area is as droppable = false Can I do an image rotation where it points to the reference po...
asked by 25.09.2017 / 18:30
1
answer

Fill meta description via javascript does Google interpret the code?

I have a JSON {"content":{"description":"Descrição do meu site"}} I wanted to populate the meta name description via javascript <meta name="description" content="" /> I wonder if Google will read this information, otherwise what...
asked by 25.09.2017 / 16:25
2
answers

Change font size JavaScript / HTML / Jquery [duplicate]

I created this application in HTML / JavaScript / Jquery ... I would like to know how I put a button to increase font size within the textarea. Anyone have an idea? <html> <meta charset="UTF-8"> <!-- add special charact...
asked by 24.09.2017 / 19:34
1
answer

DomPDF Illegal error "offset offset 'hex' online 1150 style.cls.php"

I have the following code: <?php session_start(); if(isset($_SESSION['logado'])==false){ echo("<script>window.location = 'login.php';</script>"); } ?> <!DOCTYPE html> <html> <head&g...
asked by 24.09.2017 / 20:19
1
answer

Change dropdown menu through input checkbox

I'm trying to create a dynamic dropdown menu that can display its contents as checkbox is checked. <!DOCTYPE html> <html> <body> <div id="checkbox"> <label><input type="checkb" value="produto"/>Produto</l...
asked by 20.09.2017 / 07:12
1
answer

Center an image inside the div [duplicate]

I have% circular% and div that places the image within function . The only thing I need is for the image to be centered on div . Follow the example: (view the entire page as a whole) function clickImagem(src)...
asked by 20.09.2017 / 20:18