Questions tagged as 'html5'

3
answers

Separate a date (dd / mm / yyyy) in different options

How do I separate the current date in three options. For example: and then go back together? I have this working but I have been asked to change it and I can not find anything about doing what I ask. <tr> <th >Fec...
asked by 16.08.2016 / 15:37
2
answers

SVG file that inherits the current color

Using SVG inline I can make the current color inherit using the value currentColor for property fill . In this way I can make my image adapt to the color of the element that contains it. For example: .rojo { color:red;...
asked by 22.11.2016 / 18:45
1
answer

How to implement a Sidenav on my website?

Sorry for the inconvenience. The truth is that they would send me to Google when they read my question, but I have already searched and searched and I can not find a code to implement it on my site since doing something like this is out of my re...
asked by 26.02.2017 / 16:47
1
answer

filter with pattern range of ports

I would like to know how you can filter with pattern a range of ports such that only accept or numbers or numbers with two points in between and as long as it does not exceed 65535. Example: 20 or 20:25 The only thing that has occurred...
asked by 13.06.2016 / 09:50
1
answer

How to load a Select with AngularJS and JSON

Good, I'm trying to load a select with AngularJS by calling a Json but I do not know how to do it I have this JSON angular.module('playersApp', []).controller("AllPlayerssCtrl", function ($scope) { $scope.players = [ { "p...
asked by 20.08.2017 / 21:41
1
answer

Format for currency (MXN) DataFormatString

I am applying in the model the DataformatString I wish that in the price of the products appear the cost separated by thousands with one (,) and that it appears without decimals. I was able to make decimals not appear but not to show the thousan...
asked by 20.08.2018 / 15:56
2
answers

How to center horizontally and spaced several elements within a div?

I have within a <div> several elements <span> , <button> and <img> aligned horizontally. I need them to be centered vertically. They must be between them horizontally aligned and spaced occup...
asked by 29.08.2018 / 13:32
1
answer

CSS error, apply style to the wrong item

Good, this is my first question and I hope to do it well, I'm copying a web page to practice html and css, what happens to me is that when I try to put the background blue of page-section-2 actually it turns blue the page-section-1...
asked by 19.08.2018 / 12:01
1
answer

Javascript only runs in the first element of the table

I'm new to JavaScript and I have the following problem: <tr th:each="planificacion : ${planificaciones}" th:onclick="'window.location.href = \'' + @{/planificacion/{idp}(idp=${planificacion.id})}+ '\''"> <td th:text="${pl...
asked by 18.12.2018 / 17:10
1
answer

How to remove a div without affecting a div equal jquery?

At the moment of doing click in a button add in jquery this generates a append with 4 inputs and two buttons, a button eliminates the row which works well, but there is another boton that must to be deleted alo...
asked by 27.11.2018 / 19:39