It is possible to do this:
var self = this;
//self.emp = {nCodEmpleadoPk:null, cnombres: '', capellidoPaterno: '', capellidoMaterno: '', cSexo: '',cnumDoc:'',ncodArea:'',ncodCargo:'',nEstado:''};
self.emp = {nCodEmpleadoPk:nu...
I have a form with a button, when I put the button (this button actually use it for several things changing the name and using flags in the method that defines the click) this executes the JavaScript in the client but never reaches the code -beh...
I'm trying to create a dynamic range bar that changes value by doing click on a button,
var slider1 = new Slider("#ex1");
slider1.options.min = 20;
slider1.setValue(50);
slider1.slider('refresh');
<input id="ex1" data-slider-id='e...
is the first time that the OSM API with OpenLayers and I have the problem that when I want to load the values returned with an Ajax, it does not load them. this happens in the "description" attribute of the new OpenLayers.Feature.Vector func...
I assign a variable to an object, I do console.log with it with intention to find out and examine what is inside the object, but when I start the code in console ( CLI ) ( PowerShell ), this console.log simply returns the following: [object]...
I comment I'm trying to use DataTables making a WebServices to another server, which returns an array in Javascript with the following values :
[
["2017-05-25 23:10:00","0","100","17.2"],
["2017-05-25 23:20:00","0","100","17.2"],...
I am building a spinning wheel that is filled by database which I do the following code but at the time of executing it I get
rotateWheel is not defined
supposedly what is wrong is
spinTimeout = setTimeout("rotateWheel()", 3000);
This...
I'm doing a design by mvc in JavaScript backbone, but when I implement the function to remove an element from the collection, I see this error:
A "url" property or function must be specified
This is the code:
eliminarCliente: function(i...
Hello people, I am using passport-local and what I want to do is show the user when he / she does the login
My code is this
var passport = require('passport');
var localStrategy = require('passport-local').Strategy;
var User=require...
I'm trying to create an api where I receive 2 parameters, the id of the session and the seat that needs to be reserved
[
{
"id":1,
"tanda" : "7:30am"
, "asientos" : [
0 ,
0, 0, 0, 0 ,
0, 0, 0, 0 ,
0, 0, 0, 0 ,
0,...