Questions tagged as 'javascript'

1
answer

Issue events from module Nodejs

Greetings, I am trying to issue an event in nodejs from a separate module, but I can not capture it, I have this code in the module var util = require("util"); var events = require("events"); function MyStream (connection) { if (!(this insta...
asked by 19.06.2016 / 23:21
1
answer

How to put in my table in JSON jQuery a sql pdf?

I would like to open my pdf file that I stored in my sql table with the following fields: nombre(varchar),tipo(varchar),ruta(varbinary) . How would it be? So I have it but it only brings me the name as I open the pdf ??? function OnSu...
asked by 20.06.2016 / 17:10
2
answers

clean bootstrap form

I have a form in bootstrap, I fill it, I save changes, and then I open again in the same window to enter new data to the form, but the previous data appears, that is, it is not cleaned if I open it again window. This is my code: <div cl...
asked by 21.06.2016 / 17:49
1
answer

Generate special table in javascript

My question is: How to make a table in javascript where the numbers of the table of 5 are interspersed in two columns, and the other two are blank? This is the code: function tabla() { document.write("<table border='3' bgcolor='...
asked by 16.06.2016 / 03:57
3
answers

Error React and Jest

I'm new to reacting. I have to do component testing and I get this error: FAIL __tests__\test.js (13.787s) ● TPanel › it encountered a declaration exception - TypeError: Cannot read property 'photo' of undefined at TestimonyRow.ren...
asked by 10.09.2016 / 20:26
2
answers

Learn value returned by an onsubmit form in HTML5 CanvasInput

First of all greetings to all and to say that I am very new, any correction is welcome, both the question I am asking and the use of this website ... I was trying to get the method onsubmit() of the library "CanvasInput" of HTML...
asked by 12.06.2016 / 17:27
3
answers

Trigger events in modal window

I have a modal window made with bootstrap, inside I have a form and I try to send that form to another file to process the information but the button does not do anything, I realized that the button to close the modal window has an attribute cal...
asked by 09.06.2016 / 15:30
2
answers

Problem changing the value of a textinput

I have the following function which I call both by keyboard and by a href simulating a button but the detail happens because when I execute it by keyboard it changes the value of ('#total') but when I execute it by clicking it does not . funct...
asked by 10.08.2016 / 23:41
2
answers

Select the son of the relative of a selected div

I am trying to make a pop-up tab of a div table and would like to change the value of a div, specifically the son of a father who knows his id, something like this: <div id="pariente"> <div id="hijo">Inactivo</div> </div...
asked by 29.11.2016 / 05:40
1
answer

I have doubts with the use of react-router

Good friends, I am using the YouTube app to get the videos, the problem is that I'm using react-router, I have my Show component where I have my tag that is going to call my Reproductive component but there is a problem because my Reproductive c...
asked by 13.08.2016 / 12:53