Questions tagged as 'html'

5
answers

Some jquery function to control an input only numbers are written?

Some jquery function to control an input only write numbers that are accepted by all browsers and also accept enter, delete and tab?     
asked by 16.12.2016 / 16:12
2
answers

html table with javascript

I want to get a table like the one in the picture, but the EFR and EFA titles do not fit well, and how to get the last row with a bit of space? I would also like to improve the code, it is a lot of code for a simple table var ta...
asked by 30.03.2018 / 01:29
2
answers

CRUD data with bootstrap and PHP [duplicated]

I have a problem with some statements that I am using for a CRUD of data with bootstrap, php and html. I have the following code in which I connect to the DB without including an external library. <?php function conectar_bd...
asked by 20.07.2018 / 20:52
3
answers

Download .TXT from HTML

How do I click on the test button to run the script and download the information, Thanks. <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>JS Bin</title>...
asked by 14.08.2018 / 23:31
2
answers

Apply CSS to array of objects in JSON

I need this array of objects in JSON <script> var galeriaOriginal={"frases":[{"persona":"Bender Bending Rodríguez","frase":"Los robots no tenemos sentimientos... y eso me pone tan triste...","foto":"http://www.topimagenes.net/wp-content/...
asked by 20.02.2018 / 20:56
2
answers

Add another zero to the result

I have the following code and I need that for example, if in the first field I enter 10 and in the second 20 , it shows me:    0.5 USD but I need you to show    0.50 USD <form oninput="x.value=parseFloat(peso.value)/parseFloat...
asked by 29.06.2018 / 01:31
2
answers

Autoplay does not play the video

I have a question with the following code <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Video</title> <script type="text/javascript"> function iniciar() {...
asked by 11.06.2018 / 13:50
5
answers

Redirect to url when clicking (settimeout)

I'm trying to make a function in js so that when the user clicks on a link spend a few seconds and automatically redirect to another url. function redireccionarPagina() { window.location = "http:/#"; } setTimeout("redireccionarP...
asked by 15.11.2017 / 12:37
2
answers

Input does not assign value

I have a function in javascript that creates a row in a table, in the row to enter I have a column of type input and when assigning a value to that input does not work anymore if I change the type by label if the val...
asked by 28.11.2017 / 23:26
3
answers

Draw functions f (x) with JavaScript and canvas

My idea is to paint a x function using JavaScript and Canvas , I've been looking through the internet and have not found anything about it, I may have looked bad, I do not know, but the question is that I'm not sure how to start, here I lea...
asked by 09.03.2017 / 18:23