Questions tagged as 'html5'

1
answer

Show Input as selected in a Select

I'm trying to show / hide an input according to what has been selected in a Select but I can not get it HTML <section class="row nm"> <div class="column g-12 nbp denunciaMsg">...
asked by 04.09.2018 / 15:36
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
3
answers

How to send AJAX request with headers

I explain my drawback: I am trying to consume a API of a page so I make the following request: <script> var button = document.getElementById("btn_submit"); button.addEventListener("click", e => { e.preventDefault...
asked by 01.10.2018 / 16:38
1
answer

How to travel with PDO

I'm trying to login and I'm using PDO. This is my code Form <form method="POST" action="ajax.php?mode=login" class="form-signin"> <h1 class="h3 mb-3 font-weight-normal">Iniciar Sesión</h1> <label...
asked by 07.07.2018 / 16:16
3
answers

Problem replacing point with comma keyPress

I comment, the matter is as follows; I'm working with HTML - jQuery and I'm using a script that replaces the dot by comma when I press it Script $('input.number').each(function () { $(this).keypress(function(e){ if(e...
asked by 26.04.2018 / 17:01
3
answers

How to make a selection list for users of my website

I am something new in the world of programming and I have the following question in the following context: I am developing a web page where one can enter with your user account and make publications, comment on other users' publications, etc....
asked by 16.05.2018 / 00:45
1
answer

How to remove an element added by the append method according to the selected option of a select multiple?

the problem is: I have a multiple select that lists records from a table, so when I select a select option it adds an input with the user ID inside a DIV, and when I deselect an option it continues adding a new input. How can I prevent...
asked by 21.04.2018 / 19:25
2
answers

The page is restarted after uploading the second file

I created a file upload works well when it's the first time I upload a file, when I try again, if you upload the file, what you should not do is reload the page since I use Ajax to send this, I'm new to the subject and I've searched a lot and I...
asked by 06.04.2018 / 06:33
2
answers

Waypoints and Animations in HTML with JQuery and CSS

Good morning, I am trying to implement animations to elements when they are shown on the screen, but I can not do it, I think the problem is in the JQuery code that I am using, since when trying to add a class to the object it does not, but if I...
asked by 04.04.2018 / 23:39
1
answer

Html Chrome does not play autoplay

Usually it happens to me that when working in Chrome the first few times it manages to load videos without any inconvenience but after a while, they no longer load the videos. It only happens in Chrome, while in Firefox, Edge, Safari and Opera,...
asked by 14.06.2018 / 18:41