Questions tagged as 'html'

2
answers

Activate - disable class active of a nav-item with bootstrap 4

Greetings I would like to know if it is possible to activate the active class according to where you click, I tried with some script that I found on the web but they have not worked for me. The way I am doing it is: I have a php file where I...
asked by 24.08.2018 / 15:57
1
answer

How to traverse an array of html with JQuery or javascript?

I have the following code: <td> <input type="text" name="listPeso[]" class="input_next autoNumeric" data-v-min="0.000" data-v-max="999999999999999999999.999" data-a-sep="" data-a-dec="." onkeyup="runScript(event,this)"> </t...
asked by 23.08.2018 / 17:07
1
answer

Copy and Modify Input value to another Input, JavaScript

I have a question about a code that is killing me ... What I need is that I copy the input value in another input, but that it is different, that is to say without spaces and in minuscule everything, example: Input 1: Hello World Input 2...
asked by 29.08.2018 / 19:11
2
answers

Get current time with php

This code returns the current time, but I need it a minute ago. <input type="text" value="<?php echo date("h:i:s A");?>"> Can you do that if the current time is 2pm; the input show me the 13:59?     
asked by 30.08.2018 / 08:41
2
answers

I need to get the value of a select, that is within a cycle, and the name and ID is repeated

The select is inside a modal, and it is generated with a cycle, and I need in the function to know the specific value of that select <select id="lote" name="lote" style="width: 100%; height: 100%"> <? while ($registro3=@mysql_fet...
asked by 07.09.2018 / 00:33
1
answer

Validate if an input file is empty or not with PHP

Cordial Greeting. I hope you are well, and you can help me. What I do is, I have an HTML form, which sends data by POST, to PHP, a field is an input of type file (input="file" >), and I receive it in PHP, what I want to validate is whet...
asked by 03.10.2018 / 00:45
3
answers

Put divs in HTML

I am trying to make a gallery with the folders that I have in a directory, and for that I use php to browse them. The fact is that I am very bad, fatal, the design, and what I want to do is that each folder has 200px width and 200px high, and as...
asked by 18.08.2018 / 18:33
1
answer

How to make my button do not lose functionality after adding it with append in jquery

With this I add a row to my table this row contains data and buttons. But the buttons stop working I have to reload the page to work. How do I make it work without reloading the page and after adding it with append? $("tbody#agregarusuario"...
asked by 18.08.2018 / 16:05
1
answer

Error using d3: "d3 is not defined"

I am starting to do my pininos with d3 in Python (using Jupyter ), with something very simple, but no matter what I do, I have errors. Go the code: from IPython.core.display import HTML, Javascript import json #Llamo a d3...
asked by 04.12.2018 / 01:45
1
answer

Space between bootstrap buttons

Greetings to all I am adding buttons to my html page with bootstrap 3.7 which looks good: The problem arises when viewing it in mobile devices, that is, the space that is displayed horizontally is lost in the mobiles: That way you...
asked by 29.11.2018 / 17:22