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
answer30
viewsJquey - How to take actions with dynamic elements of a table?
I’m making a table that is fed dynamically with database values. In this created table I put a field to insert the "quantity" and a button disabled by a class. I want to enable the button as soon as…
-
0
votes3
answers1601
viewsz-index doesn’t work because?
I have this very simple code, my div#d4 is coming out of your container and falling into the div#d2 this because the div daughters do not fit in the div father. And by defining a position: absolute…
-
0
votes2
answers719
viewsTotal sum with multiple values dynamically using jQuery
I’m trying to do a function that takes the values of all <div class="preco-produto"> make the total sum and population in the <div id="final">. I made the function that separates the…
-
0
votes1
answer61
viewsResponsiveness to modal
I have a page where I created a modal with some text boxes inside, nothing very elaborate. When I change the screen resolution to very low resolutions like 800x600 my modal deforms a lot, it gets…
-
0
votes0
answers230
viewsHow to create a select & option hierarchy of categories and subcategories (MVC)?
I am creating a select & option system for a Marketplace, where selecting a category from the first select will generate another select with the subcategory options of the selected category.…
-
0
votes1
answer228
viewsDate filter problem using Datatable
Good afternoon, I’m using data-Picker and I’m having trouble filtering by dates. 1 Error : The code returns me in mm/dd/YYY even with format due to line: var min = $('#min'). datepicker("getDate");…
-
0
votes1
answer69
viewsIs it possible for me to record information using one user.uid in firebase?
I have no knowledge about the area, so at the moment I have many doubts and one of them is this: I have a script that the proposal is to get the user.uid when it is logged in via email and password…
-
0
votes1
answer75
viewsHow to Mount Grid Bootstrap
I’m trying to build a grid using the bootstrap doc but it’s very confusing! The maximum width of the iframe that loads the Forms is 868px. This is a simulation opening on the tablet standing and…
-
0
votes0
answers32
viewsFancybox is not opening as it should
I am registering in PHP using fancybox, I made the configuration of the action to call the javascript screen and the template I want to use. But inside the html by clicking the fancybox button is…
-
0
votes0
answers39
viewsAlign images that link box with dynamic sizes
I am developing a page where I needed to do a type of "Steps", I chose to follow with the cols of the bootstrap and with css Nth Child Odd and Even set the margins and those dotted lines next. The…
-
0
votes1
answer44
viewsMenu changing as per resolution
The menu of my website changes depending on the resolution of a device, it leaves it a little unnoticed. There is how to leave this menu "fixed" in any resolution? Normal (as I want it to be): In…
-
0
votes1
answer77
viewsCSS for printing - How to control data flow
Good afternoon! I’m setting up a layout for printing, where there will be a lot of data that exceeds more than one page. Does anyone know how to control the amount of data per page not to cut the…
-
0
votes0
answers34
viewsFirefox and Edge add link in filter url() how to resolve?
I’m using filter in the CSS to make an effect, but since it is SVG Filter, I use filter: url('#id'); but in Firefox and Edge browsers they increment a path forward that ends up removing the effect.…
-
0
votes1
answer202
viewsDatatables Warning(table id = 'example'): cannot reinitialise data table
I am working with an example of datatable rowgroup and getting an error like this when loading the page: Datatables Warning(table id = 'example'): cannot reinitialise data table ## <script…
-
0
votes0
answers31
viewsDiv is inheriting css height to some extent, then defaults! How to fix?
I have the following table: Even at the point of the blue arrow are aligned, then when the text is larger on the left side, the right side does not follow the height. how to corrgize? css:…
-
0
votes2
answers230
viewsWhat is the best tool to perform a Javascript integration with Mysql?
I am programming a web electronic point system, I am at the beginning still and my knowledge with web programming is still at the beginning. I initially developed the front-end part by HTML and then…
-
0
votes3
answers198
viewsWhat javascript code can I use to replace all html images with webp extension to png when the browser is Safari?
I converted all images from the site to the format .webp. However, the Safari (Apple) browser doesn’t recognize it yet. Therefore, I kept all images on the server as well .png. I would like to…
-
0
votes3
answers62
viewsHow to choose the page URL (vice versa)
Hello, I’m developing a project with .NET Core Razor, and I have a file structure like this: When in the browser I go to the Menuprincipal page, the URL looks like this:…
-
0
votes1
answer256
viewsPositioning with display: flex
I was doing an exercise page and I had a question with display: flex. Take the example. I have a DIV centered and within it others DIVs underage. Below the HTML <!DOCTYPE html> <html>…
-
0
votes4
answers59
viewsDiv in the center next to each other
I’m creating a website, created some Ivs and wanted them to be next to each other centralized, I tried with float but it is below. CSS: .fundopython{ background:#232323; width:200px; height:250px;…
-
0
votes0
answers135
viewsError saving Standard 5.8
I have two related tables at the time of saving is accusing the following SQL error: "SQLSTATE[HY000]: General error: 1364 Field 'id_data' doesn’t have a default value (SQL: Insert into users…
-
0
votes1
answer77
viewsCheckbox disappearing when click
I’m making a custom checkbox and when I click, it disappears. I want, when I click it, to appear True or False without it disappearing. When I remove the onClick() event the checkbox does not…
-
0
votes0
answers23
viewsScript re-execution problem in jQuery after the same event is run
I am developing a web system in ASP.NET MVC and I have some registered companies, I created a button on this grid that leaves the company active and inactive in the system and I am creating a jQuery…
-
0
votes1
answer85
viewsFixed header without transparent background
I have a header fixed on my page with a background image, when the scrolling happens the header goes along and has to overlap the html that is underneath, and does not become transparent, but it is…
-
0
votes2
answers29
viewsMy delete is deleting the table data but not redirecting to the page I want
*IN CASE IT DISPLAYS "echo "error while deleting";" even the data has been deleted from the table. Please help me! Page of functions: require 'conexao.php'; function apagar($cod_pedido) { $link =…
-
0
votes1
answer299
viewsDisable certain options from the default menu context
I would like to know how I can disable context menu options in the best way possible, if you have any native form and it’s not hard to undo, it would be interesting. An example for the expected…
-
0
votes2
answers171
viewsI can’t get content (number) of some tags read
The idea is to take a sequence of values arranged in li’s that share the same class, convert to integer, add to then perform a conditional test. I’m using…
-
0
votes1
answer39
viewsInput field filling
Good afternoon guys, it is the following, I have two input fields in a form, in the first input I enter a value, then I click to calculate and the second input is filled with value that is…
-
0
votes2
answers60
viewsInfinite scroll does not update with CSS class
Goal I have a table populated by the database, and would like to update as scroll is ending. Test scenario $(document).ready(function() { $("#regs").scroll(function() { if ($(this).scrollTop() +…
-
0
votes1
answer282
viewsChange input color in HTML page
I am developing a simple page in HTML with Javascript also. But I have a problem, on my page when a data is filled incorrectly, appears a alert and the color of input changes to red, when the die is…
-
0
votes1
answer47
viewsError mounting String with parameter . NET
So guys, I’m developing a project with . NET Core Razor, and I’m assembling a string there, as follows: string TotalInformacoes = ""; TotalInformacoes += (!String.IsNullOrEmpty(cl_1.Trim()) ?…
-
0
votes2
answers66
viewsPrevent user to change field before completing
In some specific forms, I want to validate if user has completed the field in full. Should he come out of input, an alert on the screen is displayed, and then the focus goes back to that field. I…
-
0
votes2
answers179
viewsJavascript function for color exchange
I am developing a function for color customization of a template for people to have the freedom to customize the way they want. I created a JS function for this, it worked perfectly when it was just…
-
0
votes1
answer557
viewsSend checkbox value not selected by form
I have an html form, and in it I have an input checkbox, I need to send the value of that checkbox independent if it is selected or not, if it has selected send 1 if it has not sent 0. So when it is…
-
0
votes2
answers146
viewsReturn all checkboxes unchecked via jquery
I need to identify all checkboxes UNCHECKED to add a class by jquery to them, but whenever I submit the form with 1 or 2 checkbox selected, all other checkboxes deselected end up selected. //Valido…
-
0
votes3
answers647
viewsPopular HTML table from a Combobox
I am with a challenge that for some can be simple thing. On one page I have a combo box / menu select and a table with 3 columns. My goal is this: Once the user has clicked on any option of combo…
-
0
votes1
answer62
viewsHow to make the footer accompany the retractable menu
Problem: I have a retractable menu and a footer on my online system. I’m not getting to make sure that when the menu is dried my footer can accompany the menu. Source Code: Html <footer…
-
0
votes2
answers1548
viewsRemove standard container space
I’m performing a style modification within my #div1, but she is inside a container, so the stylization doesn’t take the whole field, it’s as if the div did not occupy the whole field, there are left…
-
0
votes1
answer98
viewsGet element value after AJAX content is loaded
Well, I’m having some doubts regarding the use of Ajax. I’m trying to get a value of a certain element <tr>. For that I put an attribute data- in <tr> which is dynamically generated by…
-
0
votes1
answer18
views -
0
votes1
answer302
viewsHow to change the "innerHTML" of a tag using javascript and Ionic?
So, I was testing here my code to make an android app for balance, I am using Ionic, but when I test the code it does not work in Ionic, but only in the browser and in normal test (like only…
-
0
votes1
answer52
viewsHow do I execute a scrip only after it is visible to the user?
I have this script: var count = document.getElementById('contador').innerText; var temp = count - 1000; function counting() { if(temp<count) { setTimeout(function(){…
-
0
votes1
answer193
viewsAJAX. How to pick up with PHP the data sent by "username" and "password" when set in ajax?
I know you have other ways to send and get Ajax-PHP data, but giving a read in the documentation of jQuery-Ajax I saw that you have the option of username and password, where I understood gives a…
-
0
votes1
answer118
viewsAutomatically change CSS every date
I want to create a menu that every day one of the links changes the style using the same computer date... Example of javascript: function _getDateEnd ($element) { var date = new…
-
0
votes4
answers97
viewsChange image by clicking on radio input
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Pergunta</title> <style> .carinha{ width: 50px; height: 50px; } </style> </head>…
-
0
votes2
answers82
viewsUse For in Javascript in an HTML concatenation
Hello, i am in a Javascript file and displaying an HTML table for it with an HTML concatenation, only I need to do a for in one of the table columns to display a select option, but to no avail. Mode…
-
0
votes1
answer54
viewsHow to increase the chart without breaking the mobile layout
Problem: I created a chart using the google API, but I had to make the chart small so when it’s mobile it won’t break. The problem is desktop size becomes unviable. How does it have to look: I would…
-
0
votes0
answers73
viewsCorrect Variable Statement in Document.getElementById() to @foreach
Hello, I need to call a script inside a page triggered by a button using ajax method. My script in Javascript: <script type="text/javascript"> function attachProjetoFuncionario() { var…
-
0
votes2
answers59
viewsHow to create a height div with a prescribed value that decreases when redirecting the screen
I’m having difficulty creating a div in which the width is 580px with the 767px media query, when I decrease the screen the div remains fixed at the same height value. How do I get gif to follow…
-
0
votes2
answers54
viewsHide and show content
I tried to use this form to "store" content (surrounded by blue in the print) that would be shown after clicking on the button that contains the image. But I can’t because the button doesn’t work…