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
answers17
viewsHow to escape HTML code within a data-text attribute?
I wrote the following code: <label class="form-input"> <i class="material-icons"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></i> <input…
-
0
votes3
answers367
viewsMultiplication and sum of inputs in a site
I am building a website and I need help: I have 3 fields on this site (input) and each represents a fixed value (1,500, 250 and 500), I would like to be able to insert in these fields the amount of…
-
0
votes0
answers107
viewsJSON DOES NOT RETURN
I am updating the database. But the json does not return. Can you please help me? JQUERY FILE $(document).ready(function($) { // Evento Submit do formulário $('#myForm').submit(function() { //…
-
0
votes2
answers535
views -
0
votes2
answers110
viewsJquery - Identify automatic text
I am using Jquery to identify when the text box is text in the text box, thus: CSS: .inputtext { border: 1px solid lightgrey; margin: 0; margin-top: 11pt; width: 100%; } .inputtext:focus { border:…
-
0
votes1
answer460
viewsList CRUD with Jquery
I am creating a list of items with Jquery that is rendered on the screen according to what is typed in the input. To display the element on the screen (Item name, change button, and remove button)…
-
0
votes2
answers170
viewsProblem passing variable from one screen to another
Here’s the deal. I have a problem using $_SESSION in PHP. I’m starting now, so excuse me if I haven’t done the login system the right way. I have a login screen that basically runs this code:…
-
0
votes1
answer36
viewsTremble/ Shaking when I do Hover in H4
Can someone tell me what to do to stop h4 do Tremble/Shaking when I do hover? Send down my code. CSS: films{ width: 100%; height: auto; margin-bottom: 30px; padding-top: 100px; text-align: center;…
-
0
votes1
answer523
viewsOrganize HTML table data - CSS - SQL
I have the following code <table border="1"> <?php $sql = $mysql->prepare("SELECT id FROM usuarios WHERE status = 0"); $sql->execute(); $sql->bind_result($id);…
-
0
votes3
answers657
viewsClick and dblclick in javascript
I’m new to JS and I’m learning, and I’m doing an old game in which the first click is for the player1 to put the "x", and two clicks for the player2 to put the "o", what’s the best way to do it?…
-
0
votes1
answer401
viewsHow to insert a new div and stack them after clicking a button
I have an HTML div that displays totals of a calculation, and I need each time a new one is generated (at the click of the Generate button) a new blank div is created to receive the values, stacking…
-
0
votes1
answer137
viewsVertical table Flask template
I’m a beginner in flask and on the front end I have a table that it returns me information from an API, only instead of it throwing information on the table vertically it’s going horizontal, as I do…
-
0
votes1
answer254
viewsGet dynamically created Checkbox values
Developing a python application using the Flask framework for simple registration I have the following problem, I have a register of bids and these bids can have several categories, the categories…
-
0
votes5
answers289
viewsCapture text within the option tag
I want to get the text inside the tag <option>TEXTO</option>. The situation is as follows: <select xmlns="http://www.w3.org/1999/xhtml" id="page1:form_section:form1:selectListCampus"…
-
0
votes2
answers3778
viewsAdd element after element with jQuery
How can I add another tag <li> ... </li> after the last with Jquery? I have installed a plugin "Jquery Custom", and would do it there. <div class="col-sm-5 col-md-5 social-media…
-
0
votes2
answers625
viewsButton to delete Fullcalendar events - Celke
In the code below, when I click on "Delete event" gives an error that you need to select the event(event ID). Code where events are loaded: eventClick: function(event) { $('#visualizar…
-
0
votes1
answer71
viewsReinserting elements elsewhere in Body, html and Javascript
I’m trying to store in a var, and then reinsert into the body 3 elements of the type "p". <body> <p> Um</p> <p> Dois </p> <p> Tres </p> .... In doing so:…
-
0
votes1
answer59
viewsProblems with required no select in Angularjs
Staff I have the following code: <div class="form-group col-lg-6 col-xs-12 " style=" margin-bottom: 0px;"> <label style="padding-top: 4px;margin-bottom: 3px;">Grupo</label>…
-
0
votes2
answers997
viewsHow to open a screen with a pre-filled HTML form?
I would like to know, how to open a form whose fields are already pre-filled with the user’s data (resulting from a search in the database), being in charge of it only edit the information. I’m…
-
0
votes1
answer53
viewsMy session is not being destroyed -PHP-
I have the following code on a user page: public static function destruirSessao() { if (isset($_SESSION)) { session_start(); unset($_SESSION["codigo"]); unset($_SESSION["nome"]); session_destroy();…
-
0
votes1
answer139
viewsInsertion of HTML elements within another HTML Generated with Jquery in the same function
In my following code below I would like to insert the data coming from the ajax request, along with the append() HTML only in the elements whose Hidden input id was equal to the item.id (of…
-
0
votes0
answers30
views.hasClass to expand <div>
Wanted to expand the <div>, but I can’t. Where I’m going wrong? In principle it will be this, but I want to make a screen with 100% width with this effect, expanding and returning with another…
-
0
votes2
answers3033
viewsSet current date in PHP and put HTML value in an input type='date'
I tried it this way but it doesn’t work <form action="add.php" method="POST" name="form1"> <div class="w3-section"> <label>Nome do funcionario</label> <input…
-
0
votes1
answer169
viewsdescription call (HOVER)
How do I display the description when doing the hover in <img>? I would like that when the user passes the mouse over an image a certain description is displayed, follows below my code: /*…
-
0
votes0
answers39
viewsMy Lightbox module that I inserted in Angular does not work, how to do it?
Well I installed this Lightbox module with the command npm install lightbox2 --save according to the website: lightbox so far so good. After I put the paths in the angular file-cli.json as examples…
-
0
votes4
answers1294
viewsHide or display HTML table line with Jquery
I have a SELECT like this: <select id="filtro-uf" name="filtro-uf" class="form-control"> <option value=" ">Selecione</option> <option value='AC'>Acre (AC)</option>…
-
0
votes3
answers536
viewsWhy can’t I pass summernote name="" via ajax
After some tests I saw that summernote does not pass the name="" via ajax request, someone can tell me why? $(document).ready(function(){ $(document).on('click', '#submit_btn', function(){ var…
-
0
votes2
answers973
viewsBrowse table with N lines with FOR and find specific values
How to go through a table with N lines and find the specific values of each Dropdownlist ? Example of the table below: I tried with the code below, but without success. function ValidarStatusGrid()…
-
0
votes1
answer274
viewsSite Optimization - Take advantage of browser caching
I am optimizing my site in Google Pagespeed Tools. An item I have no idea what to do. There it is: Take advantage of browser cache Setting an expiration date or maximum age in HTTP headers for…
-
0
votes0
answers109
viewsProblems with loading . js and . css into external files . php
I have an application that is presenting a problem that had never happened before, recently I started using Javascript to load content without refresh using ajax, but this caused a problem. Every…
-
0
votes1
answer1520
viewsLine break in HTML table
I would like to know how 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.…
-
0
votes3
answers109
viewsRun Ajax script automatically
I’m having a problem with a college project. I would like to know how to run this Ajax script automatically: <script type="text/javascript"> function buscaCep() { var cep = $( "#cep" ).val();…
-
0
votes1
answer21
viewsFunction that opens a given address by adding input value
I have an input and would like to click Search or enter to open a certain address by adding the input value: Example <form align="center" method="GET"> <input type="text" placeholder="Faça…
-
0
votes1
answer50
viewsI cannot join two tables in php
good afternoon, I have the following problem, I am developing a project and I need to join two tables of mysql to appear in the table made in php. I mean, I want the following: this table above has…
-
0
votes1
answer96
viewsHow to select an image link text (html) and delete everything else with Regex?
I am working with a CSV file (XML type), I am using a google spreadsheet to be able to clean the data, I would like to edit a set of cells making a selection of an image link in html and delete the…
-
0
votes0
answers92
viewsAutomatic number for form
I wanted to put an automatic number after filling out a form or imagine that I will fill out my form that has to say Reservation No 1/2018 after when someone else is filling out another form that…
-
0
votes1
answer37
views$_POST not returning correctly
Can someone help me? I have a small problem in a registration code that I am studying, I want to make the connection with him in the database, however I am not able to receive the data via POST.…
-
0
votes1
answer79
viewsIs it possible to change the css3 of the table (in Jqgrid) to change the positioning on the page?
It is possible to change the table positioning on the Jqgrid library page? When the Jqgrid table returns too much data, it creates a vertical scroll bar. When going down to view the last records the…
-
0
votes1
answer168
viewsReplicate sidebar on all HTML pages
I’m studying a code, and setting up a website with it. But, I made changes to the Dashboard sidebar, but they weren’t replicated to the other pages, I’d like when I changed the Dashboard, all the…
-
0
votes1
answer110
viewsChecking empty spaces of a form in javascript
I’m doing my studies trying to finalize a form in the validation part (if there are no blanks) in javascript and then it call the function file in php sending the data by email, However, I’m having…
-
0
votes1
answer29
viewsAccess sub div Javascript
<div class="container"> <div class="card-deck mb-3 text-center"> <div class="card mb-4 box-shadow"> <div class="card-header"> <h4 class="my-0…
-
0
votes1
answer781
viewsJavascript does not work in Webview
I have this simple search engine, works on all browsers, even on android Chrome, but does not work on Webviews, any suggestion of what might be and if there is any other compatible code that can…
-
0
votes1
answer186
viewsOnesignal Web Push
Guys I’m trying to use Onesginal Web but it doesn’t work, appears the icon below but does nothing. Already this all configured in the site "onesignal" Onesignal is making a call I believe should be…
-
0
votes1
answer712
viewsmenu in Wordpress with 3 levels
I want to build a menu in Wordpress with 3 levels. This example has 2 levels, the father and the son. I want the menu to have one more level, so I can create a 3-level menu with Wordpress. Below, on…
-
0
votes1
answer2915
viewsdirect page with onclick inside a form
Basically what I need is to put a 'back' button inside my form. It has to be inside for aesthetic reasons, the back button would be inline with the send button. I made a short code: <form…
-
0
votes1
answer69
viewsHow to receive ajax data in a vector?
Hello guys I’m trying to do this, but unsuccessfully: HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head>…
-
0
votes1
answer196
viewsProblems with Nan Return in Javascript
Personal in my code a simple calculator (not yet completed), my variable resultado when displayed always shows NaN, I wish you could help me fix this problem, I’m not finding the reason for the is…
-
0
votes1
answer181
viewsHow to use a var counter in Thymeleaf?
Can I create a counter variable in Thymeleaf? I need an incremental variable to pass as a tag ID in HTML. I have the following loops, where each loop will be iterated x different times, so I can’t…
-
0
votes2
answers906
viewsEmail validation together with password with jQuery
I need to put out an APB when "all’s well" on my form. The situation is that I need to check without the email has "@" and "." and also along with this if the two password fields have equal values.…
-
0
votes1
answer55
viewsSend button from a form
I have a contact form on my website, only I have a problem! When I send him, he’s redirecting to the home and I don’t want him to do that I want him to stay in the same place and I can’t figure out…