Questions tagged as 'javascript'

1
answer

How to remove this automatic slide from blog posts?

BLOG: link I want to take this slide out of the posts, but if I remove some tag from the scripts, related to the slide images, all the photos are gone ... I reduced the blog as much as I could and all the javascripts present when they were...
asked by 24.03.2016 / 13:43
4
answers

What is the difference between the functions var name = function () and function name ()?

I see in some codes different ways of defining a function, but I do not know the difference if it exists. What is the difference between these functions? Function 1 function teste(valor){ return (valor > 1) ? true : false; } Fu...
asked by 18.04.2014 / 00:35
2
answers

Object does not exist when a foreach is inside another except during debugging

In my code I consulted 2 services and put their results (objects) within an array called deferreds . These objects have a property called results , which is another array . I need to get the first of these objects, and gi...
asked by 11.10.2016 / 19:32
3
answers

Inaccurate result in calculation with broken numbers

Problem Test on the consoles of your browsers: 1067.11-1000 = 67.1099999999999 The correct one would be 67.11 Could anyone explain this to me? And how do I resolve this?
asked by 13.02.2014 / 15:23
2
answers

How to update the canvas?

On a canvas, I added 10 small squares, but I want to be able to change the position of these squares continuously, and that this change is drawn on the screen whenever I do (I do not necessarily need an animation, just understand how I can updat...
asked by 17.04.2015 / 00:36
1
answer

How to communicate JavaScript data in JSF? [closed]

I'm developing an application that performs digital signature. In it, I load a PDF file that has the address stored in a JavaScript variable. In the background, there is an application in JSF , which has the nature of signing...
asked by 03.06.2015 / 21:23
1
answer

How to make a query with Node.js and MySQL

Hello, I'm starting with Node.js and MySQL , and I have some problems right now. Well, I have a table called users, and I need to make the data request for verification, for example: My site has a registration form, but it needs to...
asked by 11.05.2015 / 03:22
2
answers

How to make a dynamic meta description in angularjs?

How to do for description , which is in Array in controller , is rendered to <meta name="description" content="{{metadescription}}"> , which is in index.html, and can appear dynamically in views? I use $ routeParams;...
asked by 04.05.2015 / 05:12
3
answers

Is it possible to assemble standard layout for HTML pages?

If I have two pages: pagina1.html and pagina2.html , which are very similar, can I use a layout.html page to determine common elements of each page? Also avoid repetition of tags as it happens in projects Asp.Net MVC,...
asked by 05.06.2015 / 04:54
0
answers

Script JS Google docs

I have a spreadsheet in Google docs like the images below. In figure 1 that is spreadsheet I have the URL of the site that will be monitored and sent to the email that is inserted, beside I have in Table C it shows if the site is responding or n...
asked by 04.12.2014 / 13:23