Most voted "html" questions
Use this tag when the question refers to some resource, information or problem related exclusively to the HTML language (Hypertext Markup Language). HTML is the main markup language used to structure web pages and format content. The latest revision of the HTML specification is HTML5.
Learn more…14,259 questions
Sort by count of
-
0
votes1
answer776
viewsHow to expand table row with click
I am making a table and in it will have a visible tr and below a hidden and so on. On the visible tr I put a class 'expandTable' and on the hidden a class 'table'. At the time of clicking instead of…
-
0
votes1
answer79
viewsSubmit file with jquery
Good afternoon, I need a code that simulates the submission of an input file that when selected some value, it submits to php in the same way as if it were submitting in an html form. For example…
-
0
votes1
answer115
viewsRegister selected checkbox values with php and Pdo
I’m not being able to include the selected courses also would like to know how to register them separated by a "-" <div class="form-group"> <label for="checkbox" class="col-sm-3…
-
0
votes2
answers57
viewsjquery effect does not work because of relatives
I need to open the id="SUB_1" when I click the <li id="B1">Botão 1</li> and do the same when I click on <li id="B1">Botão 2</li> open the id="SUB_1" that this below the q…
-
0
votes2
answers1683
viewsHow to center the image?
Picture I want to fix, the logo is all right -> http://prntscr.com/i2qrez While on mobile -> http://prntscr.com/i2qrl0 And on the laptop -> http://prntscr.com/i2qsdw are correct. my html…
-
0
votes3
answers227
viewsrandomly generate for a period of time in php
I have this code: <?php $array_number = array(); for($i = 1; $i <=11; $i++) { $value = rand(1,11); while (in_array($value, $array_number)) { $value = rand(1,11); } $array_number[$i - 1] =…
-
0
votes1
answer387
viewsList mysql data in a modal using php
I would like to list a field that is in the database in a list that is already created. When the user clicks on the "title" field he has to call a modal with some database data. What happens, it…
-
0
votes1
answer3183
viewsRequire_once is unable to access file
I’m not being able to include pages in my file controle_login.php, as it generates the following errors: Notice: Use of Undefined Constant ABSPATH - assumed 'ABSPATH' in C: xampp htdocs Modelo_mvc…
-
0
votes1
answer53
viewshow to pass the BRAND variable that receives an Array per Javascript URL to another page? what am I doing wrong?
function escolheControle(c) { controle = c; marca =todasAsmarcas[controle]; window.location="marcaWebkit.htm"; console.log(controle+' controle-----'); console.log(todasAsmarcas+'…
-
0
votes1
answer655
viewsTwo arrays in foreach js
I have a Javascript function that sends requests with the content of a line textarea, is a looping that traverses an array and sends requests with the data of these indexes of the array, the problem…
-
0
votes0
answers71
viewsWhy are the letters being printed individually ? and not the words of the array as "SAMSUNG" for example?
var controle; var index = 0; function escolheControle(c) { controle = c; marca =todasAsmarcas[controle]; window.location=…
-
0
votes1
answer37
viewsSite content covering navigation bar
I have a navigation bar at the top of a page, but the content of my site covers the navigation bar from the moment I use the scroll bar. How can I fix this? Code: html, body { margin: 0; padding: 0;…
-
0
votes0
answers58
viewsForming a new image from an area map
Good afternoon, I’m doing a project where the company’s website is a synoptic and in this synoptic is generated images every 8 seconds. (Obs: I still need to know a way to take these images and move…
-
0
votes1
answer738
viewsInsert a value into the SQL table for each selected checkbox
I have a form with a checkbox group (equal below) and would like when selecting the values, insert a row in the SQL table for each selected checkbox: <form> <input type="hidden"…
-
0
votes1
answer69
viewsCrud making a mistake on the line where the foreach is?
I’m studying creation of Crud with Php and Bootstrap, and when the file menu_admin and opened in the browser it gives this error: Warning : Invalid argument supplied for foreach() in C: xampp htdocs…
-
0
votes1
answer229
viewsPresence list php and Pdo
What I’m trying to do is that all people connected to the logged-in user in session appear with a checkbox so that I can put whether he was present or not and is not appearing there for me to put…
-
0
votes1
answer110
viewssession_destroy does not start new session
I am trying to use the code below so when the user clicks exit, it is redirected to the file below destroy the session, but after destroyed the session is not possible to login again, because the…
-
0
votes1
answer47
viewsAnimation in css
I have a code in html that when I click on the button it opens a modal, and inside the modal I have another button to close, and I would like to put an animation at the opening and closing time, for…
-
0
votes0
answers36
viewsInsert in table - strange value
I am trying to insert a value into a table from a select option. html: <select class="form-control" name="chaveCadastro" ng-options="cadastro.cadastroId for cadastro in (cadastro | orderBy:'id' |…
-
0
votes1
answer1899
viewsHow to fill data in html input
I am creating a site for study and a question arose, where I created a Basic HTML with database and I am trying to pass some values manually, but when I press the change button, the fields are not…
-
0
votes1
answer78
viewsHow to verify variable has values?
I have a function that performs a select on the bank: function selectIdProdutos($id){ $banco = abrirBanco(); $sql = " SELECT * FROM produtos WHERE id = ".$id; $resultado = $banco->query($sql);…
-
0
votes0
answers51
viewsHow to expand a list item in mobile browser?
I have the following navbar on my website: <div class="navbar-custom"> <div class="container"> <div id="navigation"> <!-- Navigation Menu--> <ul…
-
0
votes1
answer57
viewsHow to highlight items from a <li> list, changing the position regardless of where it appears
I am building an application without database and with json, I am using a list <ul><li></li></ul> to display the items, What I need to do is make a few items stand out. Ex.…
-
0
votes0
answers59
viewsHow to use composite links - '.html file#secao'?
I made the following button: <a href="/../totem_app/xplaces/00_menu_vitoria_xingu.html#acru" target="_parent" class="bcontraste"><b>LINK</b></a> to go to <a…
-
0
votes1
answer37
viewsEvent Listenter and Ajax
Guys, this is my first post. I’m sorry if I didn’t follow some rule/publication label. I made an html form that sends data to a php file. Then I put ajax so I don’t have to re-load the pag. So far…
-
0
votes2
answers149
viewsPHP how to let select set
I have a select that takes the data from the database to make an insertion: <div class="row"> <div class="form-group col-md-2"> <label for="marca">Marca</label> <?php…
-
0
votes2
answers2837
viewsClick anywhere in the <li> and run href from <a>
It is possible to visualize that the <a>is clickable ie, I click on it and it redirects me to another location for example, but I would like to know how I do so that it is possible to click…
-
0
votes0
answers27
viewsPython: Rescue mysql html text
I am using Bottle.py for study and testing... I have a problem in retrieving a database information. The table is like this: create table if not exists postagens ( idPostagem INTEGER NOT NULL…
-
0
votes1
answer409
viewsDate time Picker bootstrap in modal
The following is the date time Picker is appearing behind the modal and I’m not able to put ahead has to do this? Code that I tried: .form_datetime { position: relative; z-index: 9999; } and…
-
0
votes1
answer32
viewsPage only brings the data the first time it is loaded
Why does the page only load the data once? After loading, if I update the page in the browser, it no longer brings the Getvalues data. I am using Servlet and JSP. <html> <head>…
-
0
votes1
answer456
views -
0
votes0
answers546
viewsUncaught Error: Syntax error, unrecognized Expression: #botao_resp_<?= $Row['id']? >
I have a page with Formularies to answer questions and I am trying to use jquery in a separate file and is giving the following error: Uncaught Error: Syntax error, unrecognized Expression: #boot_…
-
0
votes3
answers43
viewsDecrement of JAVASCRIPT forms
I have a code when the person clicks add the code generates other languages.. but how do I have the option to delete in each form? Note: I do not want to delete the last one added and yes a certain.…
-
0
votes0
answers55
viewsDynamic form locking select
I have a dynamic form (that) with two fields (a SELECT and a quantity input), but every time I add two more fields SELECT gets stuck. $(document).ready(function(){ var itemCont = 1;…
-
0
votes2
answers963
viewsHide field and change button text
Guys I understand the BASICS of javascript, my area is PHP. Anyway, when you click the button an input appears, how can I do for when you click the button again this input disappear, and the button…
-
0
votes1
answer35
viewslimiting a date field to only numbers
Currently my fields are this way: function formatar(mascara, documento) { var i = documento.value.length; var saida = mascara.substring(0, 1); var texto = mascara.substring(i) if (texto.substring(0,…
-
0
votes1
answer1669
viewsPHP code inside Jquery, is it possible?
I have an application and in it I use Jquery and the function I’m having problems is as follows: When the user clicks on the button + calls Jquery which reads HTML and PHP content and runs in a row…
-
0
votes2
answers1943
viewsHow to link to download html file?
I’m using the tag: <a href:"{{ arquivo.caminho }}" download>link</a> with the download attribute to download a link of files from my local network (tiff images), however, the downloaded…
-
0
votes1
answer85
viewsView in ngModel Firestore return
How to view data returned from the Firestore in an Angular ngModel directive? I would like to take the data that is returned from the Firestore and display in an Angular ngModel directive,…
html firebase typescript angular angularjs-directivesasked 6 years, 8 months ago Luiz Ricardo Cardoso 173 -
0
votes2
answers121
viewsBackground color did not quit when clicking the CSS close button
I am developing a web application using Html,CSS,Jquery, and every time the page is loaded a modal appears with an image. But when I click the close icon the image comes out but the background color…
-
0
votes1
answer41
viewsUse Rand and randomly assign to all columns
I have this table (centrodb.Infocontributors) that has the ids of all the other tables I do the join in the database with this data: I have this query: SELECT B.NomeColaborador, C.Ala, D.Grupo,…
-
0
votes1
answer359
viewsRead html file and get the value of a selected select
I am reading an html file and need to get the value of value of select user selected, how to do ? HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument(); var select =…
-
0
votes1
answer2013
viewsOpen link in another HTML browser
Good morning, everyone ! Next, I have a very simple HTML code, where I have an image linked to a link from a local application in the company (the application is web) or when I click on the image…
-
0
votes1
answer50
viewsDo not insert in table
I have this code: <?php $servername = "xxx.xxx.x.xx"; $username = "xxxxx"; $password = "xxxxxxx"; $dbname = "xxxxxxx"; $conn = new mysqli($servername, $username, $password, $dbname);…
-
0
votes1
answer46
viewsCommandbutton does not register in SQL
I’m having trouble with my code, when I register a new vehicle, it says that the vehicle is not being instantiated and is returning null. Follow my settings: LAYER DAO: public void adicionar(Veiculo…
-
0
votes2
answers1885
viewsAdding Buttons in the upper right corner of the div
I am using bootstrap, HTML and CSS in a responsive layout and wanted to add two Buttons in the upper right corner of the DIV How can I do that? Regardless of what’s inside the div? for example…
-
0
votes2
answers45
viewsGet Radio and Text Values in Order
Good note. I have a problem with the logic of how to proceed between a set of questions and answers. I have the code below formed by inputs with the types text and radio.I want to recover the…
-
0
votes1
answer342
viewsRow number in table
I have a table and I want that when you click on the info button, the next row information appears (which is hidden). To do this you would have to take the value of td that I clicked and enable with…
-
0
votes0
answers71
viewsMobile keyboard does not open on bootstrap site
I made a responsive site with bootstrap, but when clicking on inputs the mobile keyboard is not triggered. What can be? <script…
-
0
votes1
answer49
viewsMenu with dropdown doubt
Guys, I made a menu with dropdown that gives a little problem. As soon as it opens, it stretches the line instead of being in a "box". Someone can help me -> http://marciabelmiro.com.br/tg18/…