Questions tagged as 'javascript'

3
answers

simple function to obtain the value of an input

I'm just starting in javascript and I'm trying to do something very simple, an input and a button, when I click the button, it shows me a value in the console. When entering a specific value in the input, I want that by clicking on the button, t...
asked by 11.08.2018 / 03:29
1
answer

How to convert a file file to String base 64 with javascript in jsp?

A help, I need to convert the file file (photo jpg) to String base64 and send it as a String through the json or my action reserve.    The jsp view where I declare the File    Json where I send the values entered to the reserve acti...
asked by 20.11.2017 / 12:51
2
answers

Get buttons to share on social networks and program them

They could advise me on where to get these types of buttons to share on social networks and how to program them to share different content ..     
asked by 20.11.2017 / 23:06
2
answers

question about ajax show individual results

I want to show the result of an AJAX query in different parts of my website. That is, in my query I have two echo within the PHP that I want to print in my HTML document. The problem is that he shows them both together. For example:...
asked by 25.03.2018 / 07:18
2
answers

Delete Specific Array within another Array

I have a global array that stores more arrays inside. The internal arrays store two values, the x and y of the position of a graph. Well then, with that said, I explain how it works for now and what I need. I have (for now, in the future i...
asked by 15.03.2017 / 11:31
1
answer

Add Link to a piechart

I'm working with graphics, which works well for me and delivers the data I request; my problem is that I can not add a url and that this url take me in said graph. <div class="el-chart-w"> <canvas height="300px...
asked by 04.09.2018 / 14:02
1
answer

Enter data with SQL SERVR in node.js [closed]

I would like someone to give me an example of how I can enter data in a SQL SERVER database from Node.js please! Thanks:)     
asked by 04.09.2018 / 16:34
1
answer

Redux properties are not updated

can help me not update the decorator's properties until after another dispacth takes the value. I do not know what's wrong. @connect((store) => { return { adminLogin:store.adminLogin.error }; }) class Login extends Reac...
asked by 12.07.2017 / 06:00
1
answer

Can someone explain this performance result?

I have the following snippets in JavaScript: Script 1: multiple return function prueba(valor) { if (valor == 1) { return '1'; } else if (valor == 2) { return '2'; } else if (valor == 3) { return '3'; } return...
asked by 21.09.2017 / 10:58
1
answer

How can I implement Jquery in a project in Meteor?

I am working with React components, an example would be this NavBar template import React from 'react'; import {Link} from 'react-router' import { Accounts } from 'meteor/accounts-base'; export default class NavbarLanding extends React.Compon...
asked by 05.10.2017 / 16:23