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
votes0
answers50
viewsinteract with TD with canvas line on the TABLE
I have a common table informed given radius of geometric coordinates, as in the image below: There is a javascript function that calculates the distance from the char point (0,0)' to any marked…
-
0
votes1
answer89
viewsAutocomplete/Suggestions/Mysql
Question 1: Does anyone have any functional examples of when someone types in an input pop up suggestions below? preferably coming from a table created in mysql. Bench: test Table: users (user_id,…
-
0
votes0
answers282
viewsgetDay() Ionic method in and out of the constructor, error! - Typescript
Good afternoon guys, this is my first post here on stackoverflow so I already apologize if there are any mistakes.. My question is the following: I am working with Ionic and I need to "take" the day…
-
0
votes1
answer54
viewsLightbox and Link, modify operation
Good morning. This lightbox in the middle, where you ask for login and password, only appears after the user clicks on that link "Restricted Access". Is there any way that lightbox appears…
-
0
votes2
answers1179
viewsHow to make the Spring MVC Responseentity return in a new page?
I have a method of a report controller (posted below), to which I return a PDF. The problem is that it returns the pdf in the same application tab and this is killing it. How can I return in a new…
-
0
votes1
answer49
viewsShow label data in radio instead of text
I have this appointment and I show it this way: <?php if(isset($_POST['data'])) { $servername = "xxx.xxx.x.xx"; $username = "xxxxx"; $password = "xxxxxxxx"; $dbname = "xxxxxxx"; $conn = new…
-
0
votes1
answer1304
viewsHow to do Onclick action in Select Option
I need to do an onclick action on each option of a select with a different link according to the id of each, but it’s not working. $label .= "<select size=\"1\" name=\"modulo\"…
-
0
votes1
answer248
views -
0
votes2
answers469
viewsShow and hide according to another event
I have 2 show/hide buttons from 2 groups: group1 and Group2.When I click to open the group1, for example, it opens a card with information from that group and when I click hide it hides. So far so…
-
0
votes1
answer460
viewsSelect2 does not work on my pc but works on jsfidle
This jsfidle code works, i.e., shows stylized select and select with input search. <html> <head> <title>TESTE</title> <script…
-
0
votes1
answer215
viewsCancel bootstrap JS default procedure
Good morning, I’m learning to program web now( studied C# last year in college and this year is web, so I wanted to get ahead ), I will program in Asp.net, I did all my "form" in bootstrap, visually…
-
0
votes2
answers158
viewsHow to store value in a string object and display that element on another page?
My job myFunction picks up the elements username and password typed,and sends these values storing in a global variable to the next page. My job tToken authenticate this information and play to next…
-
0
votes1
answer308
viewsPopover bootstrap button in jquery does not show content
Good morning guys, I’m trying to understand how the bootstrap Popover works, I’m trying to use in button form to understand how it works but this is a secret for me. Although following tutorials, or…
-
0
votes2
answers148
viewsUpdate in database table
I have this code to make updatand the countryside estado as completed and be the only field that can be edited: <?php $servername = "xxx.xxx.x.xx"; $username = "xxxxx"; $password = "xxxxxxx";…
-
0
votes1
answer40
viewsput a column in the table to mark as view
I have this query and show in a table: <form method="POST" action=""> <fieldset> <table cellspacing="10"> <tr> <td> <strong>Insira data de inicio:</strong>…
-
0
votes2
answers703
viewsHow to style elements within the <textarea> tag?
Hi, I was trying to create a "text editor" to program moon, I tried to change the color of the word Function every time it was typed, but I came across something, I can’t style any element within…
-
0
votes2
answers550
views(javascript) Taking value from a very complex html structure
I’ll try to be quite objective: How do I get the value within a tag that is within 200 million other Childs ? (understanding right away that I will not be able to make changes to the code, because…
-
0
votes3
answers1286
viewsPlace div height at 100%
I’m putting together a layout using Bootstrap 3 and wanted to put together a layout more or less like this: +-------------+---------------------------------+ +-------------+ + +-------------+ +…
-
0
votes1
answer45
viewssetar scrol location
I have a div with overflow: auto; I press to leave the scrol of this div at the lowest point, to show only the newest information: div{ width: 150px; height:80px; border: 1px solid; padding:5px;…
-
0
votes1
answer150
viewsWhy doesn’t this while loop work? (infinite)
I’m having trouble with a while loop in my code. For some reason, it’s looping endlessly. This is the code: function transf(){ var container = document.getElementById('container'); var compartimento…
-
0
votes3
answers1395
viewsMandatory completion
<label for=""><h5><strong>Dia da Semana</strong></h5></label> <select name="Dia"> <option value="0">Selecione o Dia</option> <?php…
-
0
votes1
answer804
viewsPOST de imagem, via ajax
hello basically what I want to do is a system similar to the facebook, to create posts. Where you press to send the photo, choose the photo and automatically the photo goes to the server and has a…
-
0
votes4
answers2107
viewsSearch string on page with Javascript
How can I perform a search in a DIV resembling Chrome’s Ctrl+F with javascript? Case-independent, lowercase, accents, etc. So far I have the result below. I take the term found and check if there is…
-
0
votes2
answers39
viewsMysql Query with multiple tables
I’m having trouble performing a select on some tables, I did the following. have 5 tables (module, components, step, images, records) the table records only receive ID’s from the other tables , it…
-
0
votes0
answers638
viewsWrite about image with PHP
I need that from a form, the user can write his data, to be printed in a predefined image (will be an email signature) Follow code used, but image does not appear! HTML <form method="get"…
-
0
votes1
answer44
viewsJquery Slide Image Transition Error
I’m setting up a website and the image slide is not working.. the image is static. What might be? <!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta…
-
0
votes1
answer82
viewsReplace checbox for radio
I have this code where I create two columns of type="checkbox": $tabela1 .= '<td> <input type="checkbox" name= "Id[]" value="'.$rows_cursos['Id'].'"></td>'; $tabela1 .= '<td>…
-
0
votes1
answer81
viewsPlay js variable in html
I made two inputs date, and when I click on "generate" it shows on the console the product that has these dates, but it is a variable, how do I turn a class and play in html? there every time I call…
-
0
votes1
answer182
viewsdoubts with jsPdf - column definition
I have the following json { "MedPaciente": [ { "ProdutoModel": { "LaboratorioModel": { "id_laboratorio": 7951, "nome": "BOEHRINGER INGELHEIM", "data_cad": "28/12/2017", "situacao": 1 },…
-
0
votes1
answer1039
viewsBrowser "back and forth" button and dynamic div without refresh
Me and a friend have been having some problems with jQuery.. If we base it on a code to make the button back and forth of the browser work on our site, with the function of a update div without…
-
0
votes1
answer91
viewsHow to pause and continue after an event a For?
I have that code here: function aparecer(){ const array1 = [1,2,3,4,5,6,8,9,10]; for (let i=0; i < array1.length;i++){ const lugar = document.getElementById('local'); const ul =…
-
0
votes1
answer80
viewsUpdate value using For each event
I have this code here: var current = 0; var array1 = [1,2,3,4,5,6,8,9,10]; function aparecer(){ //verifica se o current é maior do que o array if ( (array1.length - 1) < current ) { alert("oi");…
-
0
votes2
answers586
viewsUpdate with foreach in the database
I show this data with the select and after the user query can edit three fields: Image, Treatment and Status. The State camp is doing the update correct in table, but the fields input type="file"…
-
0
votes1
answer156
viewsHTML table with misaligned columns
I have this table: As it is possible to repair, the columns are not aligned with the lines, and I do not know pq and do not know how to tidy, since q smp did this way and never had this problem.…
-
0
votes1
answer55
viewsauto-populated form with the remaining data from one of the selected fields
I wanted to have a dynamic form where the only thing asked is the selection of a user u from a list of users passed to the model from a controller, the email and status fields should be…
-
0
votes2
answers683
viewsSave image name and extension and upload to a specific php folder and then show in a table
When showing a query in a table I create these three fields for the user to update to the line showing the query data: <?php $tabela1 .= '<td> <input type="file" name=…
-
0
votes0
answers73
viewsGRUNT CSS-MIN does not process with @import inline
Hello, I am building an html page where I merge js files using Grunt and the modules Grunt-usemin Grunt-contrib-uglify Grunt-contrib-Concat to compress the js using the following structure <!--…
-
0
votes2
answers47
views"Section" closing tag found, but there were open elements
Good afternoon guys, I am trying to master the use of HTML5, and during the attempt to correct errors of my HTML5 page I find myself in the error described in the page title and I can’t understand…
-
0
votes1
answer25
viewsHow to initialize the sale id in print class?
I would like to receive the id of venda in the print class of the page, being that it comes null, and I am using it to compare with the idvenda with the parameter created in Jasper. html print.…
-
0
votes1
answer320
viewsChange the directory where the folder will be created
I do this way the upload where creates the folder inside the wordpress folder: if (!file_exists($pasta)){ mkdir("$pasta", 0777); } $diretorio = "img/"; foreach ($registro as $Id => $estado) {…
-
0
votes1
answer112
viewsLoop wordpress in list with classes
I’m making a loop in Wordpress to capture the posts of certain categories and show them as in the image below (image - html template). I used the Codex of WP to see how I was gonna do it, so I…
-
0
votes0
answers304
viewsHow to rotate and move the canvas with the keydown?
Talk guys! I’m a beginner in JS and HTML. There’s a lot I understand the reasoning but I get in the way of coding. I’ll try to explain what I’m trying to do. I am drawing a triangle (called Jack),…
-
0
votes2
answers204
viewsCheck negative balance
Via Javascript or Jquery, I need to check if there is a negative balance. If you have a negative balance, then: var SALDO_DISPONIVEL = 0 other than: var SALDO_DISPONIVEL = 1 The following is the…
-
0
votes1
answer58
viewsAutomatic Facebook posts lost images
Hello. I use the Twitter API to automatically post vacancies from my site there, see: https://twitter.com/carreirafashion Vacancies are straight, with the title of the vacancy, description and an…
-
0
votes0
answers249
viewsPage according to the clicked product ID (JAVASCRIPT)
I’m trying to get the ID of the boot which is a various rival and play on another page to perform a fetch API. Only this button is done automatically, it depends on how many purchases have in the…
-
0
votes1
answer66
viewsHow to return to initial value after an event change
I’m with this code: let inicial = 0 let vPag = 3 const numeros = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]; render() function resultadoPag(pagina){ vPag =…
-
0
votes2
answers33
viewsHow to add background to an inline list ? And how to remove the default underline effect?
I’d like to add a background to that menu, how can I do that? The background-color only adds color to the words and not to the whole. And it also has this effect underline in the list <nav>…
-
0
votes1
answer846
viewsShow popup on close tab
Hello. I would like to know a code to display a form as a popup when the user is closing the page. That is, that moment when it takes the cursor up the browser. Because the page was made by the RD…
-
0
votes1
answer908
viewsChange the color of Datepicker
I’m trying to modify the background color of my jquery datepicker , I searched the internet some solutions brought me this code: .ui-datepicker { color:white; background-color: red; background: red;…
-
0
votes3
answers1186
viewsHow to check each character of an array? Javascript
Person, I’m with this code: const arrayOne = ['jean','geleia','gean','ea games', 'e1']; function buscar(){ arrayOne.forEach(function(valor){ const teste1 =…