Questions tagged as 'html'

2
answers

How to create a responsive ball with css and html?

I have a doubt, and that is that for a class work I am trying to create as "a Christmas ball" that I turn, the thing is that the ball has already been made and turned, but there is a problem and that is that if the size I give it with em or wi...
asked by 06.11.2018 / 17:02
4
answers

OnClick event assignment using document.getElementById

Code function asignarEventos() { var uno = document.getElementById("uno"); var dos = document.getElementById("dos"); var tres = document.getElementById("tres"); var arreglo = [uno, dos, tres]; for (var i = 0; i <...
asked by 01.08.2017 / 15:05
2
answers

Javascript dates

Good morning, I had the following question, can it be done that when a input type="date "have passed more than 65 years difference between today's date and the one put by the users, a input type="radio" will be deactivated? That...
asked by 26.10.2016 / 10:59
4
answers

hide / show n elements "tr" from another element tr in a table

Currently I can only show / hide a single element like this: $(document).ready(function () { $("#Mostrar_Tabla").click(function () { if ($("#Tabla_Mostrar").is(":visible")) { document.getElementById...
asked by 20.02.2017 / 20:15
3
answers

Differentiate types of HTML elements in JavaScript or jQuery

I have a series of labels in my view JSP . Each label shows a unit of measure and if you want to edit it, it is replaced via javascript with a input via button. NOTE: both the labels and the input are elements wit...
asked by 03.12.2015 / 12:32
5
answers

Hide the text of a div using CSS

Suppose I have the following div: <div class="contenido"> <img src="pepito.jpg"> Hombre </div> I need to hide the text "Man". How do I do it? With clear css this     
asked by 06.04.2018 / 00:11
3
answers

How to join two html pages without using iframe

The idea is that if I have two HTML pages I can join them, and I can call their methods and the DOM between both pages, without using a controller like PHP Example: pagina1.html <!DOCTYPE html> <html> <head>...
asked by 27.04.2017 / 14:55
2
answers

Header error - Warning: Can not modify header information - headers already sent

This is the error:    Warning: Can not modify header information - headers already sent by (output started at C: \ xampp \ htdocs \ newop \ template \ header.php: 80) in C: \ xampp \ htdocs \ newop \ mainindex.php on line 16 Line 80 of th...
asked by 09.11.2016 / 10:42
4
answers

How to know which key was pressed

I need that every time a key is pressed, a function will be executed, which will vary depending on the key that was pressed. So I need to know what key was pressed. This is what I have so far: function onKeyDownHandler() { conso...
asked by 30.06.2017 / 16:30
6
answers

Can more than one id be placed in a single input type text?

my question is if you can place more than one id in an input because I have a function in javacript that I send it to call in the id of an input type text but in that input I also have to have the id with the variable in my database. where the...
asked by 22.02.2017 / 20:56