Questions tagged as 'javascript'

2
answers

Toggle () effect down, JQuery

Can you change the direction of the toggle () effect of JQuery? For example, I made a button that when clicking, it shows and closes a div $('.botao').click(function(){ $('.div').toggle(700); }); Only, that he kind of has a...
asked by 20.04.2017 / 13:24
2
answers

Problem with return of AJAX request

I am making a request in ajax but the result of it does not update, it is as if it were in some kind of cookie. function AtualizaTotalItensNota(idFornec) { $.ajax({ type: "GET", dataType: "text", url: "/sist...
asked by 17.01.2017 / 12:39
1
answer

How do I do a search between several db and present the result on the page itself?

In MySQL I have a database and inside it I have the student table, and I would like to search in another database that is identical to the first, but with different information, and would like to know in which of the banks the student...
asked by 17.01.2017 / 20:36
1
answer

Remove background color from input in autocomplete

Something that makes me very uncomfortable is when the google browser autocompletes something and leaves the input with a yellow background, how can I remove it?     
asked by 19.01.2017 / 14:03
2
answers

Use External Variable in JavaScript / JQuery

Good morning! On the company website that I work with, there are certain variables like this: {{order_total}} In case, I need to make a simple script, to get the total value and add an HTML up front ... $JQuery(function(){ var valordope...
asked by 17.02.2017 / 14:06
2
answers

Return Javascript before finalizing processing

I have this method: var getCardToken = function () { var passa = true; var code = false; var acardNumber= $("#ContentPlaceHolder1_txtNmCartao").val(); var acvv= $("#ContentPlaceHolder1_txtCodigoDeSeguranca").val(); var aex...
asked by 14.02.2017 / 14:35
1
answer

Real-time Notifications with javascript [closed]

I'm building a Java application that should show on-screen notifications in real time. A teacher requests a reservation; Reservation data is stored in a json object (or in a request table); At the same time, a notification is displayed o...
asked by 09.02.2017 / 18:59
2
answers

How to read a JSON using ONLY JavaScript? [closed]

I want to read and display in a console.log the information that is inside my .JSON, but without the use of jquery or other frameworks. Basic code.     
asked by 10.02.2017 / 21:17
1
answer

Validate List of radium buttons with Angular.JS

I have a list of radium buttons and I need to control by angular: Validations: one option at a time and display message. Code:<!DOCTYPEhtml><html><head><title></title></head><body><div><labe...
asked by 10.02.2017 / 21:50
1
answer

I'm making a game, and on line 36 gave this error Uncaught ReferenceError: resetInterval is not defined. Can anybody help me?

<!doctype html> <html> <head> <meta charset="utf-8" /> <title>My game</title> <script src ="Sprite.js"></script> <Style> canvas { positi...
asked by 12.02.2017 / 18:54