Questions tagged as 'javascript'

1
answer

Checkbox to select all and add the javascript selections

I am new to the forum, I have several days looking for the solution to my problem but I can not find it, the following happens: I have a mysql table with the following records: "id, product, quantity, price", each record is dynamically displa...
asked by 18.02.2017 / 02:31
5
answers

Print a label i for each ng-repeat of a Json

Having the following structure, HOW DO I do it to print the amount of stars that each car has? that is. IF in the json it says "stars": "3" would have to print 3 labels The expected result is to print 3; The first with 3 inside. The second wi...
asked by 30.01.2017 / 15:32
1
answer

Obtain a specific text fraction with jquery

I have this variable var data = "<option codigo='1'></option>,<option codigo='2'></option>"; and I want to get only what is inside codigo='' that is, get 1,2     
asked by 13.02.2018 / 06:26
1
answer

I get the error [object HTMLSpanElement]

It shows me the names and documents along with dates but when I press the save button it shows everything except the selected subject, does anyone know how or why? This is my code: function insertartextos() { console.log("inser...
asked by 09.08.2016 / 00:21
1
answer

Retrieve backend data in ComponentDidMount or in ComponentWillMount

I have the following component: import React, { Component } from 'react' import data from '../data/dummyDataEx.json' export default class Resumen extends Component { constructor (...args) { super(...args) this.state = { resul...
asked by 23.10.2016 / 12:22
1
answer

How to pass a Java String to Javascript

It is a java web application project. I want to put a bookmark using google maps, I have my jsp where I show it and I have the javascript where I use the api. I have a java where I make the connection to the bd MySQL and another where I make the...
asked by 27.10.2016 / 02:12
1
answer

Send a message to n subscribed users when a date / time approaches nodejs

I want to be able to send a message to a user via email or sms, given a date and time for example 10/24/2016 14:00:00 send a message to you one hour before, I am using nodemailer to send via email, and twilio to send via sms, but the question is...
asked by 14.10.2016 / 21:58
1
answer

Change property css depending on the browser used

The following code should increase the space between the letters when it opens in safari but it seems to ignore the order that changes the css property even though the alert does. Thanks. function BrowserDetection() { //Check if b...
asked by 13.04.2016 / 23:56
1
answer

How to clear the navigation history in ionic framework

Hello community, have a question about the use of $ ionicHistory , which is part of Navigation the javascript / angular extensions. I would like to know how to avoid going back when it is in one of the two menus, depending on the role...
asked by 11.03.2016 / 18:11
1
answer

Error showing data in handlebars-js

I'm trying to access the id of this element sent by json in handlebars.js { "status":"success", "message": { "message":"sdasdasasd", "type":"photo", "post_id":55, "title":"", "description":"",...
asked by 15.03.2016 / 22:08