I have a problem getting the value of my input :
<input type="file" name="fileToUpload[]" id="inputFileServer" accept="image/png"/>
In angular I have:
var file = document.getElementById('inputFileServer').files[0];
console.log...
In my html code, I have a select and I need to select an area and show me all the tables (represented as buttons)
Linq (MesasController.cs)
[ResponseType(typeof(Mesa))]
[System.Web.Http.HttpGet]
[Route("GetMesasPorZona/{idZona}")]
public IQ...
I have a very simple and strange problem in an array in which I declare it for example:
$scope.pactUpdates = [];
The problem is when I push on that array and I want to assign the value of a control that is empty.
$scope.pactUpdates.push({...
Good, I am doing a project with AngularJS 1.6 and I would like to save in a variable of the Scope on a specific day and that when it is visible, the day is marked in the calendar without having to do anything. I assumed that using the scope vari...
I have a function that calls the element 'categories' of the BD.
This 'Categories' table has a field called 'gallery' which is an array of images. I want to do a ng-repeat that shows me the images of this field. the code that I have, but that do...
I have the following js:
var array = ["paco", "185.6687", "lucas", "1365.2541"]
<div ng-repeat="val in array">
{{val}}
</div>
I know that if it were a number that makes {{val | number:2}} function but if I have that a...
Good afternoon, I have the following problem with a function typescript
[ts] Property 'notificaciones' does not exist on type 'typeof Alertas'.
I need to use the function called message in a component but when I set the function as public st...
I need to organize a product list sorted by Array of String as properties of Array of objects
example: Case 1
<div *ngFor="let producto of productos| orderBy:'nombre,descripcion' : 'ASC' || 'DES'"></div>...
I am creating an app with angularjs and Ionic. I have some inputs type number but in the android device, the keyboard that presents me is with the option to add a period (.) And it is not what I need.
I tried:
if (
($.inArray(e.keyC...