Questions tagged as 'javascript'

0
answers

Facebook page does not open with click - nightwatch

Hello, I recently started working with Nightwatch.js . I want to test the click on the facebook icon. The code is this: module.exports = { "Facebook link" : function (browser) { browser .url(http://m.uni...
asked by 12.05.2016 / 12:50
1
answer

Return php values with javascript

In java I did a project that in several parts of the program called a function to go to the database to fetch a value and return, of type String nome = acessocliente.obtemnome(id); , where in the accesclient class I had a parameter called...
asked by 11.05.2016 / 11:12
1
answer

jQuery does not use the HTML5 dataset on date?

When modifying a certain initial value of data of jQuery, I noticed that the value of dataset is not modified. Then I wrote the following test: HTML: <div data-value="initial value" id="div-test-1"></div> <di...
asked by 11.02.2015 / 18:38
1
answer

Adding tag in photo

I'm trying to add tags to a photo (like the facebook identification system), the error I'm having is the following: When I click on an image to place the tags the form first appears in the corner of my computer, not in the coordinates of the...
asked by 19.05.2016 / 05:27
1
answer

Values calculated in Javascript do not appear with decimals

I've done this calculation, which is working perfectly. The problem that is occurring is that when you return values to the (View) screen it returns without the calculated decimal places. I will demonstrate what is happening. This is my JavaS...
asked by 26.03.2016 / 12:52
1
answer

How to stylize a CHARTS in height, width and proportion?

One day I'm trying to put a Charts.js on my web page. It's already there, but I can not style it with intent. Where should I change the width, height, and aspect ratio of the chart? As you can see in the image, the graph is out of backg...
asked by 25.03.2016 / 11:43
0
answers

Handlebar not working in Firefox

I'm trying to use template to create cells in a table but the code only works in google chrome, does anyone know why? index.html <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" c...
asked by 24.03.2016 / 02:48
1
answer

XMLHttpRequest - response blank

I have a file on the server that, if I find the login and password informed, returns 1 or 0 if nothing is found. However, I am not able to receive this information using XMLHttpRequest . In PHP, I use echo (json_encode($))...
asked by 23.03.2016 / 22:38
1
answer

Passing query in DB by node to Array in Javascript Front-end

Hello, I am currently studying a bit of web programming (I am very exciting) and I ended up falling into node.js, I am finding everything incredible I am just having a certain problem, I want to access mysql return a query by node and pass this J...
asked by 07.07.2016 / 04:33
0
answers

Do searchers interpret elements before or after rendering by Javascript?

For example, in a ng-repeat of Angular or in simple% with% of Jquery, will searchers read all dynamically created elements, since it is a replace client-side? In the excerpt below, taking the Jquery example, I have a append th...
asked by 06.07.2016 / 16:27