Questions tagged as 'javascript'

2
answers

Error with window.onload with sprites

Good afternoon, Does anyone know why I miss this error ?:    "coin.render is not a function at window.onload" The code on my website is the following: var ImgMoneda = new Image(); ImgMoneda.src = "coinAnimation.png"...
asked by 16.03.2017 / 15:01
1
answer

'mouColorsEsquerra' is undefined

I have a problem with my application and I do not know what the reason is. He tells me the error of the title. I can not modify anything in CSS or HTML. That is to say that the error is in the .js but I do not know how to see it .. do...
asked by 15.03.2017 / 18:52
1
answer

I want to do a FadeIn to two elements using jQuery

What I want to do is a FadeIn with jQuery but I do not get it: My JS: function fadein() { $("#result").fadeIn(1000); $("#svgresult").fadeIn(1000); } <button id="calculate" type="button" onclick="fade...
asked by 10.09.2016 / 18:26
2
answers

NullReferenceException when passing parameter value by method get from JavaScript function

I need to pass a value by method get . On the start page I have
asked by 14.09.2016 / 14:28
2
answers

How can I detect the movement of my scrollbar?

What I want to know is when the user reaches a certain point on my screen in order to make an animation effect, in this case when the user reaches my footer I would like it to appear in a colorful way and once that went up outside disappearing....
asked by 24.08.2016 / 18:48
1
answer

Mix content files in nodejs

My code is: var files = fs.readdirSync('./archivos/'); //itera todos los archivos for (var a in files) { if (fs.statSync('./archivos/'+files[a]).isFile()){ var nombreFile=files[a];...
asked by 07.10.2016 / 20:02
1
answer

does not return the function read file nodejs

the read file function does not return anything, but if it shows by console function leer(archivo){ fs.readFile('./archivos/'+archivo, 'utf8', function(err, data) { return data; } ); }; when I us...
asked by 07.10.2016 / 00:33
3
answers

Can you install Node.js in a Shared Hosting Service?

I am doing a project with Php but I need to use Node.js to add more functionalities to the project, but this is hosted on a shared server, and I had a question. Can Node.js be installed on a shared server? and if this is not how I can work using...
asked by 12.10.2016 / 23:04
2
answers

Compare two dates in javascript [duplicate]

How can I match two dates in JavaScript ? Determine if they are equal, or if one is greater than another. The values I'm getting from inputs text.     
asked by 06.04.2017 / 14:38
3
answers

How to render the content of a variable in the view? [duplicate]

I have a variable like the following in a controller of angular : $scope.dato = "<h1>MI TITULO</h1>"; I want it to be shown in html , but rendered ... something like the following: MY TITLE In the view I put...
asked by 15.07.2016 / 22:07