Questions tagged as 'javascript'

0
answers

How to get the current Date in a datetimepicker?

What I want to do is that when entering my page, my two default date fields show the current date, these are my fields <div class="form-group"> <div class="input-group date" id="datetimepicker1"> <input id="fechInicio...
asked by 20.06.2018 / 03:44
1
answer

Replace pdf 'in use' in iframe javascript c #

I have a web application that shows a pdf file in an iframe the pdf that I show in the iframe I look for them in a specific route, I show it to the user so he can decide if he wants to substitute another one or not. If you want to replace...
asked by 20.06.2018 / 11:15
1
answer

How to set the current date by default in calendar with javascript?

I have these two fields of date type, which I use to establish a period of dates <div class="form-group"> <div class="input-group date" id="datetimepicker1"> <input id="fechInicio" name="fechInicio" class="form-contr...
asked by 18.06.2018 / 00:28
0
answers

phonegap cordova plugin background mauron85 geolocation

I am trying to make an app in which I pull by alert every time the location. It has to be in the background since I am interested in reporting even if the phone is in standby or blocked. I'm using phonegap and the plugin cordova-background-geolo...
asked by 18.06.2018 / 02:29
0
answers

how can I capture and pass the value of a combo box and pass it to another page in javascript to concatenate it to a query

I have a jsp made in adobe dreamweaver which makes queries by date to a table in a database by means of a combo box, but what I need is that in the query that is in another page jsp capture the value that select from the combo box and thus corre...
asked by 18.06.2018 / 02:39
1
answer

Uncaught ReferenceError: postRefreshPage is not defined

I have a problem calling the postRefreshPage () function on a button that means you should go back to the menu page and send the user's data so that the session stays started. This is the button: <button class="btn btn-warning btn-sm"...
asked by 18.06.2018 / 13:54
1
answer

Assign default value when destructing arrays

I would like to know how to put a default value for the constant b , I have to do an exercise 'deconstructing' arrays, but b is already assigned as constant and I do not know how to make it worth 2 without touching this line of code...
asked by 18.06.2018 / 12:57
1
answer

Problems with the connection to the database

I am making a change in the different registers, which are associated with a service number that is the primary key but at the time of making the change it shows me this error:    Warning: mysqli_error () expects exactly 1 parameter, 0 given...
asked by 18.06.2018 / 14:27
1
answer

Value of Input to an Array

I have an input filled by foreach (several values): @foreach($detalles as $det) <tr> <input type="hidden" name="id_detalle[]" value="{{ $det->id_detalle }}">...
asked by 15.06.2018 / 18:50
1
answer

Fill Select in Html from the Firebase database

I want to know if there is an adequate form of code to fill a select in html from the Firebase database, that is, get the values I have registered in firebase and display them in the html select ... This is the select that I want to fill: &...
asked by 15.06.2018 / 19:25