Questions tagged as 'javascript'

1
answer

Show and hide text in several elements of the same class

I have that code but it does not work for me can someone help me?     
asked by 17.10.2018 / 00:31
2
answers

create div that father of 2 of the 4 brothers

I have little with jquery and I am stuck in the problem I mention in the title I want to create a div with a class that is the parent of form and the last div that appears in the img. I stayed here: $(document).ready(function(){...
asked by 16.10.2018 / 13:56
0
answers

Print contents of a div in Prime NG

I have the following code to print a part of a screen: const printQR = document.getElementById (divName) .innerHTML; const content = document.body.innerHTML; document.body.innerHTML = printQR; window.print (); document.body.innerHTML = conten...
asked by 14.10.2018 / 00:47
0
answers

Multiples rooms socket io

as they are. I have a question with some sockets in socket io. What I'm trying to do is create several rooms, and then send them an event that runs every second, that's an interval .. var Room = function (room_name, data) { this.id = ro...
asked by 13.10.2018 / 21:31
1
answer

Learning App Cordova

I am beginning to learn to program in cordova and I need a couple of things: - Do you know any guide to learn? - I have the following code and when I compile it with cordova run browser it works perfectly but then when I put it on the mobile whe...
asked by 13.10.2018 / 21:49
0
answers

The master page is not displayed in a SharePoint Add-in of Tests

Hello, good morning, everyone, Perform a SharePoint 2016 lab and install visual studio 2017, configure everything necessary to create an Add-in in my SharePoint, My problem is that when I create a SharePoint-hosted Add-in it does not detect the...
asked by 12.10.2018 / 16:12
1
answer

Define several tags on the same text field

Holas I would like to implement the one that can define several types of products, that I consult from a database, in a single text field, something like the definition of labels when a question is formulated in StackOverflow: I foun...
asked by 12.10.2018 / 18:00
2
answers

look for children (children) with dynamic content

The problem is that when you want to use the .children in a class of a div that is called by ajax, it does not bring any results (it does not print the console.log with the posting), it is as if it were not in the page. Do you know how I can use...
asked by 17.10.2018 / 16:28
0
answers

Openlayers Uncaught SyntaxError: Unexpected identifier

Hi, I'm working with openlayers on v5.2.0, I'm showing an error, I'm showing you a screenshot. I'm guiding myself with the official page example: openlayersexample I have done the same as the example.     
asked by 20.10.2018 / 06:09
0
answers

problem when rendering a photo in a component

I have a problem when rendering a photo in react export default class Media extends React.Component { constructor(props){ super(props) this.state = {subTitle: props.subTitle } } componentWillMount(){ console.log(this.props.img) }...
asked by 14.10.2018 / 19:09