Questions tagged as 'javascript'

1
answer

C # Error Edit detail

Currently I have an error to edit the detail of an order, I want to pass the field iCode which is the code of the detail, but with this code I have the error that passes the code of the header of the order. In my view the detail is as follows...
asked by 26.06.2017 / 14:42
1
answer

Save values of a form AngularJS

I have this form <form> <div class="form-group"> <label>Add a comment</label> <input type="text" ng-model="newRole.newAuthor" placeholde...
asked by 26.06.2017 / 19:33
1
answer

How to add several datetimepicker

How can I add several datetimepickers without calling several functions? <!DOCTYPE HTML> <html> <head> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <scri...
asked by 26.06.2017 / 00:31
2
answers

How can I pass a data from a controller to another function in javascritp?

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Angular.js Example</title> <script src="angular.min.js"></script> <link rel='stylesheet prefetch' href='mat...
asked by 26.06.2017 / 21:50
1
answer

how can I have multiple apps in Angular 4 with angularfire2

The documentation says this: @NgModule({ imports: [ BrowserModule, AngularFireModule.initializeApp(environment.firebase, '**my-app-name'**) ], declarations: [ AppComponent ], bootstrap: [ AppComponent ] }) export class AppModul...
asked by 26.06.2017 / 23:28
1
answer

Delete in associative array in AngularJS

I need to delete a data in an Associative Array within a platform made in PHP with AngularJS. I have tried by all means and only erases me from back to front. This is the platform I'm working on. And the code: controller.js .con...
asked by 03.07.2017 / 21:57
2
answers

modify variable shown in HTML from JS

Hello people, as you can see on the page, there is a button, in which I click and increase the variable credit that is shown in the console, but what I want is that this variable also increases where the number is 1 that is on the p...
asked by 24.06.2017 / 17:39
1
answer

Synchronize javascript-angular time with server time

Good, I have a php-based website and manages the client part with angular. My problem is that when someone enters with the time changed to the time of Spain or different time zone the function Date of javascript is not worth me since the countdo...
asked by 18.06.2017 / 12:17
0
answers

Decrypt password with bcryptjs in Node js

I am consulting the user using the module mssql to bring the password and compare it to the hash using bcrypt to be able to log in. This is the code to authenticate: var LocalStrategy = require('passport-local').Strategy; var sql = requ...
asked by 23.06.2017 / 12:42
1
answer

Angular ui-select not array filter

Using angular ui-select. Documentation u-i angular selection In a select input you want to show the names of the ports. <li class="col-xs-12 col-sm-6"> <div class="form-group"> <label>Port</label&g...
asked by 17.06.2017 / 00:05