Questions tagged as 'html'

1
answer

Problem with POST form in html5 and jsp

At the time of declaring a form html in a jsp. the program runs but the class says "Element 'UserHandler' not found", because I get this error? these are my files user.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-...
asked by 23.06.2017 / 05:50
1
answer

Error width 100% when loading the table with the CanvasJS library

I have a problem using the CanvasJS library. I define the following div: <div id="resizable" style="height: 300px;"> <div id="chartContainer1" style="height: 100%; width: 100%;"></div> </div> And I add this scrip...
asked by 16.06.2016 / 08:18
1
answer

Call elements of a div with javascript

I have a section that is hidden but clicking the button does not work, the truth is that there is almost no javascript, but do not be mocking please. My css .cal{display:none;} .calculadora{width:95%;text-align:center;} .calcula...
asked by 05.11.2018 / 06:37
3
answers

Avoid string break when the available horizontal space ends

If you use a sequence of letters it does not break even if the horizontal space available in the container runs out, unless you use CSS properties to the effect such as: word-break and word- wrap , but if the sequence has characters like hyph...
asked by 01.01.2018 / 00:12
1
answer

Prevent submit to update part of a page

I have an html with the following code: function mostrar() { var x = document.getElementById('alerta'); if (x.style.display === 'none') { x.style.display = 'block'; } else { x.style.display = 'none'; } event.prev...
asked by 02.06.2018 / 19:13
1
answer

Why does it fail to call a function in php if I have already declared the file with an include in my html?

What friends my problem is that I try to call a php function in an html and I get this error: Fatal error: Call to undefined function family () I have the include already declared calling the file that contains the function but still persists,...
asked by 19.12.2017 / 18:55
2
answers

How to add an element with php

Good morning I wonder if you can create items like h1 , h2 , div or buttons in html from
asked by 17.04.2017 / 01:59
4
answers

I jump directly to the Else

I have to enter two numbers and you have to tell me if they are even or odd. It is half done but I try it and I directly jump the alert of the else, regardless of whether the numbers are even or not. <script type="text/javascript">...
asked by 02.02.2018 / 13:49
2
answers

Run php function on the onclick of a button

I need to run the content of a función of php In the event onclick of a button, is there any way to do this? <?php function accion() { echo "accion"; } ?> <input type="submit" name="" value="Buscar" id="b...
asked by 17.04.2017 / 00:18
3
answers

Correct syntax for background-image within a div in HTML

I'm trying to show an image inside a div to use it as a background and display infromation on the background. <div style="background-image: url('https://www.yucatanalamano.com/wp-content/uploads/2017/05/cdn.expansion.mx_-97.jpg')">...
asked by 12.09.2018 / 16:09