Questions tagged as 'html'

1
answer

All divs close when I click to open another but one does not close

All other divs close when I click to open another one more the div Home does not close <nav class="w3-sidebar w3-bar-block w3-red w3-center w3-padding w3-animate-left" style="width:300px;"> <div style="margin-top:170px">...
asked by 01.05.2018 / 18:04
1
answer

Codeigniter - Retrieve categories from the bank

I have a table '' category '' in the database and it has the column 'id' and 'title', I am retrieving the same in several dropdown menu's, however it loads all categories of the database but I would like to load each category on its respective m...
asked by 01.05.2018 / 20:37
1
answer

Error every time I do a Requests Flask

When I make a request from an Api to show the number of players in my template where "For in range (200)" it returns the data and not the error. <table class="cor"> <tr class="fundo"> <th>T...
asked by 01.05.2018 / 22:40
1
answer

Add column size (Mb) in php script that lists directory files

This php script lists files in directory, I would like to add the file size column in Mb, but I am not succeeding, script follows: <?php $path = "arquivos/"; // Título echo "<h2>Lista de Arquivos:</h2><br />"; // Abre a...
asked by 03.05.2018 / 00:52
3
answers

JavaScript Property and Object

Why can not he read the property? objetoSelecionado = document.selectForm.variosDias; <form name="selectForm"> <select name="variosDias" multiple> <option value="Domingo">Domingo</option> <...
asked by 02.05.2018 / 20:47
3
answers

Show image after loading via ajax

Hello, I'm setting up a site without refresh. When the user clicks on the clients tab they are loaded blades of the same, however as the embedded images have a 2mb and end up loading per part. I wonder if there is an event that checks if a...
asked by 03.05.2018 / 21:13
1
answer

direct page with onclick inside a form

Basically what I need is for a '' back '' button inside my form. It has to be inside for aesthetic reasons, the back button would be inline with the submit button. I made a summary code: <form action="php/***.php" method="post">...
asked by 19.04.2018 / 15:58
1
answer

Line break in HTML table

I would like to know how I can do to break the line in this table in the mobile version of the site (@media screen and (max-width: 550px)): <div> <table> <thead><tr> <th>Qnd. (ex: 01 un)</th> <th>Comp....
asked by 16.04.2018 / 14:50
1
answer

Function that opens certain address by adding input value

I have an input and would like that when clicking on Search or enter open a certain address adding the value of the input: Example <form align="center" method="GET"> <input type="text" placeholder="Faça sua pergunta" autofocu...
asked by 16.04.2018 / 19:30
1
answer

Counter in PHP

I would like to be doing a PHP contactor in which I might be setting a time for the next number to appear. For example, the number 1 appears and then the number 2 appears replacing the number 1. It would be in the sort of a stopwatch. Can you...
asked by 14.04.2018 / 01:50