Questions tagged as 'javascript'

1
answer

Take input value within datatable

People I have a table that loads medications from BD , it has a input in to indicate the desired amount of each, the question is that I can not take the value entered in input . I leave the code just in case someone could g...
asked by 15.09.2017 / 12:29
2
answers

Make a div appear / disappear when I scroll

How can I do with JS so that when I scroll down the div = Window disappears? What if I scroll up to show up? #Ventana { height: 100px; width: 100%; background-color: red; text-align: center; line-height: 100px;...
asked by 17.09.2017 / 12:29
3
answers

how do I take the id of a tag and then save it in a javascript variable

<html> <head> </head> <body> <?php $user="localhost"; $username="root"; $pass=""; $db="despensa"; $conexion=mysqli_connect($user,$username,$pass,$db)or die ("ERROR DE CONEXION"); $consultar...
asked by 16.09.2017 / 14:58
2
answers

ng-repeat filter

Good afternoon, my problem is as follows I have the following information. <div ng-init='programa= {"cuatrimestres": [ {"1": [{"id":"1","codigo":"IF001","Descripc...
asked by 28.08.2017 / 15:31
1
answer

Redirection after login in REACT JS

I'm doing a project in React where I have a Login form that makes a search to a Rest API, and that after that, it should go to a new page where there will be a menu. I have managed to make the query to the API, but I can not get the redirection...
asked by 28.08.2017 / 16:36
2
answers

How to get the path of a field type file

Hi, I would like help with the following problem: I have a form with the upload field of type file and would like to get the file path that is selected and save it in a variable with javascript: <form action="/upload" enctype="multi...
asked by 29.08.2017 / 16:24
1
answer

Reload Fullcalendar Events

By pressing the "btn_insert" button, once the data is saved, I need the events to be updated, and for that I am using .fullCalendar ('refetchEvents') that should reload the events, but it does not and I do not know why. I leave the code. This...
asked by 27.09.2017 / 15:21
2
answers

execute functions by pressing enter

I try to execute different actions by pressing enter. But I do not know how to do this sequentially, that is to say pulse enter and an action is executed, and when I press again another one is executed later. Without affecting the previous one....
asked by 16.12.2017 / 17:04
1
answer

Problem when showing data in input dynamically

Greetings, I have a problem showing the total of an operation that I do between two inputs, the result of that operation I must show it in another input automatically, without pressing a button or anything, these are my inputs: $(documen...
asked by 13.08.2017 / 20:34
1
answer

Modify CSS of the elements of an iframe using JavaScript

I would like to know how I can modify the CSS of tags and classes that are within a iframe , I have found solutions in JavaScript, but I am not able to make them work. Specifically I want to make the links below the pop up that comes ou...
asked by 16.12.2017 / 17:03