Questions tagged as 'javascript'

2
answers

Error trying to install Router Flux

I came across a very annoying error when trying to install Router Flux in the folder of my app6 some suggestion: Note: I've already installed two libraries:    npm install --save eslint-config-rallycoding npm install --save       react-na...
asked by 03.05.2017 / 21:50
1
answer

Trigger event or mouse button

I'm applying a change event to the id #estado , this has to happen when I click the id #cidade . This is working, but I noticed that it only occurs when I click and release the button, how do I make it happen when I click?...
asked by 05.05.2017 / 13:14
1
answer

FirebaseListObservable transforms into Object Array

I'm using Ng2-Smart-Table, according to the documentation it accepts an array of objects to mount the table: No HTML: <ng2-smart-table [settings]="settings" [source]="data"></ng2-smart-table> In Javascript import { NgxData...
asked by 31.05.2017 / 14:04
2
answers

Webpack not updating bundle.js

I'm new to this React and Webpack stuff, and I'm studying hard, but I came up with a problem that I'm not finding a way to solve. const webpack = require('webpack') module.exports = { entry: './html/js/index.jsx', output: { pa...
asked by 29.05.2017 / 17:39
1
answer

Gson Return Array of One Position

Hello I have the method: @RequestMapping("/olaMundo") public String iniciando(Model model, Cadastro cadastro){ CadastroDAO dao = new CadastroDAO(); dao.adiciona(cadastro); model.addAttribute("nome",cadastro.getNo...
asked by 04.04.2017 / 20:16
1
answer

how can I assign a value from one field to another in javascript?

I have a code in javascript that takes the value of the quantity field with onkeypress however I would also need to get the value of the id field or that the value will be sent via ajax to another page for this one doing an update only that I am...
asked by 02.04.2017 / 21:05
1
answer

How to do select in postgres from an html field and use the return to fill the other fields?

Basically I do not have any experience with html, php or javascrip and I'm trying to get around what I'm asked here. The problem is this: I have to make a registration page where the user selects a base year and if the record exists in the da...
asked by 03.04.2017 / 14:26
1
answer

Text Rotator Infinite

I have the following code: var words = ['Buy it', 'Use it', 'Break it', 'Jam it', 'Unlock it', 'Save it'], current_length = 0, current_direction = 1, current_word = 0, character_delay = 50,...
asked by 06.04.2017 / 18:33
1
answer

CSS options menu

Good morning, I need to create a menu in the right corner like the example, but I'm not able to ... When you click on my button you need to open the menu on top of the button without leaving the screen I need it to look like this: f...
asked by 30.10.2017 / 14:18
1
answer

I am not able to load the image that demonstrates error using jQuery

Today's exercise was to load one image when there is an error in the other image. Firstly I tried to use the .erro() function, but I discovered that it was deprecated in version 3.0. Then I tested the .on() function, but in the sam...
asked by 30.10.2017 / 22:04