What happens is that I want to read a JSON file and that as soon as I read it, I created a table from the file with its respective fields.
As for example:
{
"nombre":"Ana",
"edad":20,
"Hobbie":"Cantar" }
And the table is created:
Name Age H...
Good to all I would like that when loading a page with its form, a certain text field is selected without having to click on it, this in order to try to avoid using the mouse, I have googled but in everywhere comes the typical document.getElemen...
When I want to add an event listener to an html object, the eventlistener is not a function error appears in the browser console, the code is as follows. This script is executed in a simple html file.
var btn = document.getElementsByClassName(...
Imagine that I have a web page and I want to print a receipt for the client, that clicking on a button "Print" of the page gives me the option to choose the printer to print the PICTURE that you see on the screen.
Test code:
<!DOCT...
I have a div that has both a before and an after with content: '' to be able to animate the edge of this. But I find that by putting a link, this does not work.
There goes what I have done:
.inner-block {
overflow: hidden;
position...
I want to know how to avoid sending a form. What I need is that if the sum of number2 with number3 is equal to number1 the form is sent but if it is different that the sending of the form stops avoiding the values in the input tags are deleted....
I have 2 form fields that are 2 input text. One does as a prefix of the name and the other is the name.
This is the look:
What you need is to remove the space between the first input text (the disabled one) and the second one, since the...
I need to add a text that I define in a textarea that is at the end of the code but when wanting to enter it for the first time I get an indefinite variable as I do to correct this attached code
<?php
session_start();
if (!isset($_SESSION[...