Questions tagged as 'html'

1
answer

Default option in select with Angular 5

I have the following problem, I hope you can help me: I have a form in my HTML template: <form #formulario="ngForm" autocomplete="off"> <div> <label for="periodo">Periodo</label> &...
asked by 26.07.2018 / 23:42
1
answer

How to compare two input one type datetime and another datetime-local?

This is the comparison, since it does not allow me to compare apparently to be two types of input different since I do it with two type date and it works, and I do not do so because in input type datetime I show the date of...
asked by 19.07.2018 / 14:51
1
answer

Routing in ANGULAR 5

I hope you can help me with the following: I have the following code: this._router.navigate(['./admin']); I would like to know if there is the possibility of navigating to this route through the behavior of the href attribute, that is,...
asked by 01.08.2018 / 05:26
1
answer

Assign values to the attributes (css) of an image for a canvas

I have an object that has a method that creates a img element within a canvas, the problem is that I could not give it " style ", I was working with a div in instead of a canvas and had no problems. I load the image well, just with...
asked by 19.07.2018 / 15:45
2
answers

Send function with JavaScript parameters

I have the following code line: <td border="1" onClick="myFunction()"> I am trying to do the following to be able to receive a value in the function myFunction (variable). <td border="1" onClick="myFunction(variable)"> But...
asked by 12.07.2018 / 14:42
1
answer

Enable javascript effect when it is in the center of the screen

I have this effect in javascript. // [email protected] version is used // Docs: http://progressbarjs.readthedocs.org/en/1.0.0/ var bar = new ProgressBar.Circle(container, { color: '#aaa', // This has to be the same size as t...
asked by 06.07.2018 / 06:39
1
answer

The best way to endorse a table by periods [closed]

I have a table ( tabla_1 ) that is constantly edited with certain values and I want to be able to keep a searchable record of these same data of their state in periods of time gone by. I am considering creating a second table ( tabla...
asked by 06.07.2018 / 22:31
2
answers

how do I make the recently published comments go down

I have a comment box but the comments just published puts them first, and I want them to go last. from bottom to top "al réves" type chat messages. <main class="centered-bottom" id="main" role="main" tabindex="-1"> from there to below...
asked by 08.07.2018 / 03:26
1
answer

I press submit button and I change tab

Hi, I have 2 tabs on a page with forms and query buttons in each one .. when you press the tab2 button, it performs the query but it is placed on tab 1 and I have to click on tab 2 to see the result ...How can i solve this I add code <u...
asked by 05.07.2018 / 17:23
1
answer

Javascript / HTML - filter JSON

I have 3 JSON : clinics, location and specialty, I'm trying to filter by location and by specialty with Javascript, the idea is that selecting the 1 or 2 filters together hide images from the page. The problem I have is that it works parti...
asked by 05.07.2018 / 06:30