I have the input file in my form in which I choose the image and its route is shown in my input text, the problem is that it stores the route with * C: \ fakepath * and I all I need is for you to show me the name of the file and its extension....
I'm doing a simulator of a bouncing ball and I wanted to add things like a goal and that if you get scoring goal and points.
But in the case of the "Red team" it marks two points because the if cycle is done twice, which I do not understand h...
Hi, I'm trying to use the for in function to find the name of an array-like property that I have inside an object and if there is an item stored inside the property. But the problem is that it is saving the item in all the arrays and what I want...
Today answering a question on this site I found myself with a very interesting possible solution, because I accidentally deleted a part of the solution and that solution worked although it did not make sense for me.
Without further ado:...
I have a table where I add products with quantity and price, and when a product is repeated, I must add the amount of the product that is in the table plus the quantity of the product that is being added. I have a code that does that to me, but...
When placing an HTML element on top of the Google Maps using Ionic 2, I can not click on those elements, it's as if the element is not there and the click is on the map.
It happens that I have this function, which should return me a string in JSON , but it's not like that, it returns me undefined , why?
$scope.get = function(id, tabla){
var data;
if(id=="") {...
I'm opening a datetimepicker in a modal but when I open the picker it stays behind:
I have put the z-index property in the css but it does not work for me.
<div class="form-group is-empty">
<l...
Good afternoon, can someone help me map this json in a javascript ?
[{
"header": {
"nav" : {"option1":"menu 1"}
}
}]
so that this stays this way
<header>
<nav>
<li></li>
</nav&...