Questions tagged as 'html'

1
answer

Show name according to select in other input

I have a table where I have, the id, department code and the full name of this and what I want is that when I select an option, the full name of the department appears but it is only showing me the id I have this function to do that functi...
asked by 14.07.2018 / 02:41
1
answer

Problem when wanting to use a value obtained from Firebase in Javascript

What happens is that the value I get without problems, but wanting to use it outside the code where I get the value, it disappears and does not show any data ... This is the code where I collect the value "snapshot1" and I contain it in the v...
asked by 10.06.2018 / 22:17
1
answer

How to make a responsive image with css and html

What happens is that I have a page where I want that when the page is opened I only see an image and the menu, what happens is that I do it by placing the measurements of my monitor, but obviously not all Monitors are the same, how could I do so...
asked by 09.06.2018 / 06:16
1
answer

Autoplay another video when the original is finished

How can I do that when I finish playing the video completely another one is executed in autoplay mode. Something like in YouTube when you finish a video and leave you a few seconds until they execute another automatically. <video autoplay m...
asked by 10.06.2018 / 23:06
1
answer

How to hide list of options if I do not have anything written in HTML

I have a list of options that I can select, at the beginning it looks like this: so when I write something, it starts looking, it goes like this: but when I delete the writing, the list is not hidden, it remains open, as follow...
asked by 17.09.2018 / 20:50
1
answer

Use variables defined in another PHP file

I am trying to put the variables with which I will make my connection to my database in a separate file. The file is like this (I have omitted passwords and names to ask the question): connection.php: define ( 'DB_HOST', 'localhost'); def...
asked by 03.06.2018 / 13:45
2
answers

How to pass data depending on the input with a select to the controller

Goodbye everyone and thanks for your interest, I have a problem and I try to create a form with 2 inputs and a select, each one sends a different data to the php driver, <form method="post" action = "{$link->getModuleLink('krack', 'lista...
asked by 07.06.2018 / 07:46
2
answers

Add or subtract the date with buttons in javascript [duplicated]

I'm trying to make a kind of daily agenda that can change the day. It turns out that clicking on the > or < instead of subtracting or adding a day to the current date (in days) takes it out in the part of the year. For example, today...
asked by 07.06.2018 / 16:46
1
answer

pop up with data already in mysql

What my page needs is that when modifying a data under an ID, it opens a pop up with data that I have in the db, try to search but I did not find something to help me, the code that I have so far it serves but only to insert <script> fu...
asked by 25.06.2018 / 08:26
1
answer

Error with jquery and libraries that use jquery

I have a website where you use several libraries that use jquery: nyroModal timepicker cleditor ... The problem is that suddenly they have stopped working, and analyzing the browser console I get this: TypeError: $(...).nyroModal...
asked by 08.06.2018 / 10:15