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
answer23
viewsSelection css in tables
I’m trying to apply the css property of Selection to a css table, but it’s not working. I would have been able to do it otherwise. Follow the code below. <style> .hora::selection{…
-
0
votes1
answer586
viewsProblem with accentuation
I’m populating a list on javascript through a ViewBag. To ViewBag has a list of objects and these objects have properties with accented words. They are coming correctly from ViewBag, but when I add…
-
0
votes3
answers791
viewsChange the Background-color of a div within a link
I’m making a sort of card button inside a tag to create a link (bootstrap 4 beta). On the card there is a class that changes its background-color to a light blue. I want this card to turn dark blue…
-
0
votes3
answers1468
viewsAdd a div by clicking the button
I have a situation here.. I need to add a div with a registration when the user clicks on a particular button. The page starts with the div. PS: I saw some similar answers but it didn’t help my…
-
0
votes1
answer89
viewsInvoking a function by passing arguments within $Scope does not work
I have a function in a file called "mapHelper.js" responsible for adding popups on a map: function writeMarker(x,y,msg) { var muxiCoordinates = [x,y]; var muxiMarkerMessage = msg;…
-
0
votes0
answers113
viewsGenerate dynamic Mysql header
I have below a problem that I am not able to solve. How to make the header have the name of the employee and below it the revenue that was generated according to the date? And what would an HTML…
-
0
votes1
answer207
viewsYii2 textinput() and httml::submitButton in the same row
I need an example in Yii2 that allows me to put some submitButton and textinput() in the same line, as the example below: part of my code that mounts the buttons : <?=…
-
0
votes2
answers212
viewsHow to copy a piece of text within a textarea
I have a text written in <TextArea> on a page html and liked in php read the text and remove a piece of it and write in another <TextArea>, tried to use the preg_match but I couldn’t…
-
0
votes1
answer43
viewsRationale: Select PHP with positions reversed in html
I would like to pull from the bank information like title, description and image. But this way exactly in the script below. Can someone help me with logic? <link rel="stylesheet"…
-
0
votes1
answer575
viewsChange icone and display None/block
Hi, I’m trying to make sure that when the button is clicked, change the visibility of a div and the icon changes. If I remove the part that refers to the icons, the visibility is changed normally,…
-
0
votes2
answers85
viewsGet date-ref from different buttons
I created a system where displays data from a table mysqlthrough the plugin datable. One of the output data is a modal. The javascript code takes the data-ref, that contain the id. This id will be…
-
0
votes2
answers809
viewsHow to use 2 Submit separately in html?
Hello, I’m making an upload system, but when I give Submit in the following code both exchange the value of the variable ID. My idea is to change the ID value so that the folder that will be…
-
0
votes3
answers2646
viewsHow to disable an input field?
After receiving a value, how to block an input field so that it does not have its value changed? below there are two fields; how to block only the field 'FANTASY NAME' and keep 'CNPJ' to receive a…
-
0
votes1
answer90
viewsError: cribsFactory.getCribs is not a Function
I have this controller angular .module("ngCribs").controller("cribsController", function ($scope, cribsFactory) { $scope.cribs = cribsFactory.getCribs(); }); and that Factory…
-
0
votes1
answer560
viewsFunction calculation with Javascript Return
I am developing a calculation that adds interest according to the number of installments, but it is returning the wrong amount. <!DOCTYPE html> <html> <head> <meta…
-
0
votes1
answer50
viewsValidation of data submitted by the form
I am validating a form and I face a problem that I cannot solve. First, I make a foreach and check if there are any $_POST empty, if any, executes: $error[$key] = "*";. Then, below the input, I…
-
0
votes0
answers71
viewsHow to send a multi-column harness on a single button with ng-repeat and angular
I have a form in the format of grid, in it I present the table information Itens from my bank (74 in total). The intention of this form grid is to add two fields: price and bdi price in all these…
-
0
votes1
answer656
viewsSelect dynamically inserted HTML elements with Javascript
I’m developing a kind of calculator, where the client puts some information listed in "select" elements and calculates the value of the service to be hired. In this calculator, there is the option…
-
0
votes2
answers1029
viewsBootstrap: Modal with dropdown for caption
I would like to use the bootstrap modal to open a list of subtitles. But I would like to display the meaning only when clicked on the legend. Got a way? Don’t need to have styles just do a slidown.…
-
0
votes2
answers23
viewsEnable buttons for windows, and Windows 32 and 64 Bit
Hello, I need your help because I have a problem related to this code, in it I need to distinguish which Windows the person uses, and if it is 32 or 64. But I do not know what is wrong, I am new in…
-
0
votes1
answer611
viewsPassage of values between Express and EJS
I possess a value foo which is obtained in an asynchronous method in a file db.js. The query is being performed normally and I can already capture the variable data foo in my file index.js, but…
-
0
votes3
answers543
viewsShow or hide a div as selected option
I’m working with a registration system, where all employees will be registered, but not all will have access to the program. For that, I’m using a select with the level of access he will have.…
-
0
votes2
answers113
viewsHow to make two events not fire at the same time
I need to make a menu that when you click the button it appears and when you click outside it disappears. The problem I’ve been facing is that the event to make the menu disappear is what becomes…
-
0
votes1
answer1224
viewsHow to call an ID in HTML more than once?
How to call an id more than once ? <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <!DOCTYPE html> <html> <head> <meta…
-
0
votes1
answer282
viewsChange the anchor position of the top css selector?
Olhá, I’m having a problem defining a web design. my problem consists of a make a <div> which is being used to draw a cross line on an "html" page. But when I use the -webkit-transform:…
-
0
votes2
answers48
viewsSelect class from load
I have a page that is loaded by function load of jQuery as an example below: <div id="result"></div> <script> $('#result').load('listar.php'); </script> On this page…
-
0
votes0
answers262
viewsMy Error Notice: Undefined index: file in C: xampp htdocs zayonet start.php on line 99
I have some problem with this code below. I have a form where the user has two options between simply writing a text and publishing or an image text. Unfortunately the $_FILES["file"] is being…
-
0
votes2
answers98
viewsRead HTML inside a Sweetalert plugin confirmButtonText
I have an action originated by the plugin Sweetalert that needs a button with text well extended because it is a very sensitive option and can lead to errors. swal({ title: data['title'], text:…
-
0
votes3
answers119
viewsHow to style the field where the options of a tag select are?
As the previous photo shows, I would like to style that spot that is marked in red. I’ve already put the following code: select option { background-color: white; border: 1px dashed red; } The…
-
0
votes1
answer604
viewsAdd to cart with Ajax without updating page - Laravel
Hello, I’m trying to use Ajax in a form to add products in the cart without updating the page but I’m not getting, if anyone can help me. I’m wearing Laravel 5.3 joint on this website: HTML <form…
-
0
votes1
answer39
viewsWhat’s wrong with my code?
I’m trying to make a wikipedia viewer for the Freecodecamp front-end project. So I’m working with the Wikipedia API. I’ve done everything, but I can’t find what’s wrong with my code... because it’s…
-
0
votes1
answer909
viewsCreate online clock - Auto generate
I have the following code: <script type="text/javascript"> $.ajax({ type : 'post', url : 'menu.php', // data : 'nome='+ $('#hora').val(), dataType : 'html', success : function(resultado){…
-
0
votes1
answer40
viewsShow date list with moving arrows?
I would like to know how to make a kind of slide with dates, with arrows on the sides if it exceeds a specific width. This is what I have. What I need is a kind of pagination system, but it doesn’t…
-
0
votes1
answer65
viewsSend email to inbox via send button with completed form data
I have the following code, where when I finish filling the form I want to receive an email with the confirmation of the data and later open a page where I will redirect: However, after the code I…
-
0
votes3
answers151
viewsDisplay success message once in for loop
I have the code: for ($i=0; $i < count($descricao); $i++) { $id_caixa_hoje = $linha['id_caixa_hoje']; $valor_formatado[$i] = abs($valor[$i]); $inserir = mysql_query("INSERT INTO…
-
0
votes1
answer487
viewssend a post to a Localhost on a Chrome extension
manifest.json "manifest_version": 2, "name": "Sample Extension", "description": "Sample Extension", "version": "1.0", "browser_action": { "default_popup": "popup.html" }, "background":{…
-
0
votes1
answer3685
viewsseparate Divs HTML
Hello! Using the bootstrap, can you tell how I can align the Divs ? (col-Md-6) ? but in the first half, I need to divide the grid in two . <div class="col-md-6"> <div class="row">…
-
0
votes0
answers345
viewsOpen modal across screen and not within iframe
Hello, I have an iframe, and inside it has a modal using semantic, I want to know how I do and if it is possible to open this modal on the whole screen, and not within the iframe itself, I have…
-
0
votes1
answer227
viewsInsert the value of a Javascript String into a file
I have the following Javascript code: // Converts XML to JSON // from: http://coursesweb.net/javascript/convert-xml-json-javascript_s2 function XMLtoJSON() { var me = this; // stores the object…
-
0
votes0
answers354
viewsMy mobile menu is fixed at the top, but the dropdown follows his scroll, what to do?
I am creating a responsive site manually, so I created 2 menus, one to appear on the desktop and another for mobile version. These menus are not at the top, but about 150 pixels away. I decided to…
-
0
votes1
answer2495
viewsWhen calling an iframe inside a . php file, how to send a variable and receive it on the page pulled by the iframe?
I have an index.php page that contains the following script: <html> //cabeçalho... <div id="conteudo"> </div> <script type="text/javascript"> $(this).on('load',function(){…
-
0
votes0
answers888
viewsSlider (Carousel) Bootstrap, How to Change Nesting
I’m starting now to mess with both site and bootstrap, I’m using wordpress tbm. Ok my doubt is the following, I wonder if it is possible to change the transition pattern animation that comes with…
-
0
votes1
answer1107
viewsHow to add opacity in the bootstrap menu
I’m starting now to mess with both site and bootstrap, I’m using wordpress tbm. OK my doubt is the following, I added the standard bootstrap menu on my site, and I left it fixed at the top tbm, I…
-
0
votes1
answer6485
viewsHow to change the image when mouse over
I am making a service area of my site(wordpress), and would like to add only images in it and when the user hovers over these images that image change to another so with the name of the service that…
-
0
votes2
answers38
viewsProblem with running SQL through FORM
Php code: if($_REQUEST['alterarStatus']){ $alterarStatus = trataaspas($_REQUEST['alterarStatus']);} if($alterarStatus=="aprovado"){ $SQL = "update ps set StatusTransacao='Aprovado' where Referencia…
-
0
votes1
answer14311
viewsShow/Hide div by Jquery
What I want to do is very simple, only it’s not going. HTML <select name="id_tipo_contacto" id="id_tipo_contacto"> <option value="empresa">Alugar Filmes/Séries</option> <option…
-
0
votes1
answer11293
viewsHow to hide the iframe scrollbar?
Because this command is not working? I wanted the scroll bar to go away. I’ve used width: 0px; in place of display: none; but it didn’t work either. <!DOCTYPE html> <html lang="pt-br">…
-
0
votes2
answers60
viewsI would like a tip on checked, select option as I do to clear the fields if a person selects an option
Good morning I would like a tip on checked, select option as I do to clear the fields if a person selects an option <form method="post"> <input type="hidden" name="id" value="<!--#…
-
0
votes1
answer2783
viewsHow to add an inputmask email mask to an input field within a table?
How to add an email mask inputmask in a field input within a table html dynamically created? Example: <tr role="row" data-row-index="0"> <td class="text-center"> <input…
-
0
votes2
answers1560
viewsHow to know which tab is selected
I have the following situation <div class="container"> <div class="row"> <div class="col-md-1"> </div> <div class="col-md-10"> </div> </div> <ul…