Questions tagged as 'javascript'

2
answers

How to execute via JS the action of a send email button, whose ID always changes?

I need to execute the action of this button, which originally works with Control + Enter, using my JS, but the only static things on the button are data-tooltip and aria-label : <div tabindex="1" class="T-I J-J5-Ji aoO T-I-atl...
asked by 02.10.2014 / 13:12
1
answer

How to style the site's general scrollbar?

I was looking at some templates on the net and I was curious about this one . His scrollbar is not part of the browser, but I see it from the DOM. How is this?     
asked by 19.11.2014 / 01:34
1
answer

Link from a menu to a bookmark in Google Maps

I'm using the Maps API to show the location of some of the company's stores. I used this tutorial to get. So far so good. But the problem is that I have a menu with the locations of the map and I would like to link them to each marker withi...
asked by 22.08.2014 / 23:11
1
answer

Find element in an array using array.forEach

I have a grid where in each row there is a button to delete the corresponding data. This grid is fed by a json but there is no id. I would like to know how I could do to delete the selected object, the grid being fed by a ng-repeat and to delete...
asked by 25.08.2014 / 22:00
2
answers

How to move an HTML5 canvas drawing without receiving the mouse or keyboard position? Other way?

I'm learning canvas in HTML5. I was able to draw a circle, using JavaScript to move, I got through mouse events and the arrow keys. But I would like to know if you have how I determine this position through a variable or something else ?? Anyone...
asked by 20.08.2014 / 09:19
1
answer

How to make 360º video [closed]

Does anyone have any idea how I can do a panoramic video that rotates 360 degrees? Where you click and navigate 360 degree video     
asked by 25.08.2014 / 23:08
1
answer

Update headers with AJAX

I have an AJAX form that only shows a captcha for the user when the form is submitted more than 2 times. I saved these attempts in $_SESSION with PHP, however as the form is sent via AJAX the captcha will only appear when the user refr...
asked by 30.08.2014 / 04:02
1
answer

Javascript validation of a multiple field

I'm having trouble validating the files of a input of type file that has an array and is also a multiple . As in the function below the variable filename only returns the name of the first file being there are 3 others or m...
asked by 26.08.2014 / 19:40
2
answers

Absolute position does not work in a fixed menu

I have a following problem, I have a div in the body with absolute position, and I have a menu where it is fixed, there are sub-menus and to open them one must move the mouse over the menu, but when it is opened it is behind the div in the body....
asked by 29.08.2014 / 21:24
2
answers

Grunt - folder node_modules outside the project

Well, I'm starting GruntJS, my node_modules folder has 50MB, so for every project, it gets bad. I would like to know if you can leave a default node_modules folder in one place to use in all projects without having to stay within the project'...
asked by 28.08.2014 / 03:14