Questions tagged as 'javascript'

2
answers

How to get a json on an external server with Javascript?

Hello everyone, I need to get a json with javascript on an external server! Does anyone know how to do this?     
asked by 26.03.2014 / 15:47
1
answer

Image disappears while doing a flip on the sprite

I'm developing in HTML5 but I'm having the following problem a sprite does the right moves, but when I try to give the flip on it to make the image display left facing using ctx.scale(-1, 1); The image simply does not appear, it...
asked by 20.03.2014 / 17:10
1
answer

Add elements via JavaScript from the database

I'm using a Full Screen Overlay effect in my site , this effect I got on Codrops . It's working normal, however, as I'm looking for data in BD, how to make it work not just on one button, but how many? JS : (function() { var triggerBtt...
asked by 24.03.2014 / 18:42
2
answers

Global angular variable problem

app.controller('controllerPrincipal', function($scope, $http){ var resultado; $http({method: 'GET', params: {id: 2}, url: 'url'}).success(function(data) { // limpando o retorno var p = data.search...
asked by 31.03.2014 / 22:15
1
answer

SPRITE in automated css

The use of CSS Sprites has become very popular, for performance reasons in particular. How to implement sprite using automated and elegant code? For example, having the html below: <span class="sprite home" >&nbsp;&l...
asked by 20.03.2014 / 16:17
1
answer

Problem in javascript with method coming from controller per session

This is the error:    Uncaught TypeError: Can not read property '0' of undefined Well what happens is as follows: I search on a WS. In the return of this search, I mount an html and game in my view (cshtml). Well, that works. Then I...
asked by 04.04.2014 / 14:37
0
answers

Async function return [closed]

How do I get the return of this function: async function retrocredit(file) { const params = { body: { filetype: 'jpg', content: file }, headers: {} }; const [err, response] = await HandlePromise(API.post('Retrocr...
asked by 04.01.2019 / 19:31
1
answer

Angular 7 error: ERROR TypeError: jit_nodeValue_5 (...) is not a function

I have a simple page with 3 modals, which are opened when clicking buttons to request yes or no to perform actions. In one of them I only have this error, by clicking on the yes button of the confirmation modal, which calls a function. Modals ha...
asked by 04.01.2019 / 16:15
1
answer

Connection with MySQL in Roundcube

Roundcube is a free software webmail. I need to implement an HTML class to connect Roundcube with MySQL database. I have a file that is in skin / larry / template / login.html, the idea was to change the login page. Write the entire page...
asked by 08.05.2014 / 21:27
1
answer

"'WebForm_DoCallback' is not defined" - IE 11

I had a problem with a site I'm programming when running it in IE11. After putting the tag inside my code so that the code is emulated as IE 9: <head id="Head1" runat="server"> <meta http-equiv="x-ua-compatible" content="IE=9" />...
asked by 30.01.2014 / 17:04