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
-
1
votes1
answer559
viewsLoad an html file into the Laravel
I have a website and need to attach to this site a folder called processes where when the user type meu-site.com/processos or meu-site.com/processos/index.html, be uploaded the file. Locally I can…
-
1
votes0
answers76
viewsLoad only div from a specific site
Hello I am trying to take all the information from a page to a webview via jsoup but the letters are all deformed when I load and it doesn’t look like this on the site , there is some way to load…
-
1
votes2
answers1176
viewsGenerate a JSON from a converted XML with Javascript
I was able to convert an xml to json using a solution that I found on the Internet and served me perfectly, it stores all the json in a string and shows on the screen, but I don’t know how to play…
-
1
votes1
answer2098
viewsneed to make the form fill the info from the search by cnpj
Below is an excerpt of the code. I have doubts about how to make, when clicking SEARCH, the CNPJ is found on the site receitasws and the fields below are filled:…
-
1
votes1
answer80
viewsCurrency formatting
I have the following script in my HTML, what it does is simply check a checkbox if it is selected or not and in case it is adding a value, my question is, how to make this value be formatted in…
-
1
votes1
answer948
viewsPHP Upload files to a directory created with mkdir
I have an HTML form where I receive files by upload, in case one of image and the other with several PDF files, I need to organize them putting everything in a folder, for that I used mkdir, I…
-
1
votes2
answers298
viewsProblem creating a dynamic add and remove field
So, I’m doing a clinic registration form, and on this form is a specialty field that takes the data from another database and shows the list options to choose from, i am trying to put an add button…
-
1
votes3
answers1333
viewsHTML link to open form without causing refresh on page
I created a button of a form, but when clicking it gives refresh in the index page where it is and I don’t want it, I don’t want you to update the page, I just want you to open the popup with the…
-
1
votes2
answers1345
viewsHow to make a text box appear when selecting a select option
Hi, I’m developing a website, and I wanted when the user selects the OTHER option, open a text box for him to type, but I’m not getting, someone can help? function mostraCampo(this) { var select =…
-
1
votes0
answers243
viewsIncorrect character display in html/jsp page
I was designing a website for academic purposes, but I came across a visualisation error. My html/jsp pages are not displaying the accented text correctly when retrieving from the database. All are…
-
1
votes3
answers842
viewsDisable and maintain click
I got three columns in one of these <td align="center" height="240" width="380" > <img src="imagens/modelo3_thumbnail.png" alt="" class="imagemModelo"> </td> In my JS, I want that…
-
1
votes1
answer169
viewsJava Web + Ajax + Servlets
I’m having a hard time trying to get the date in Ajax. When I run the code, I get the status 200 and network in the Chrome debugger I can see the return, but I can’t do anything else with the date,…
-
1
votes2
answers308
viewsHow to duplicate select without previous option
The code below performs the insertion of a new select by clicking the button, but this new list should be composed only with the remaining items, ie the new select shall not possess the option…
-
1
votes0
answers276
viewsHow to include banner in the middle of the text?
I am rebuilding an old project, written in PHP with Mysql. For practical purposes, consider it as a news portal. In the database there are several articles, which I list on the site by simple query,…
-
1
votes1
answer490
viewsCentralize form
I have a form and need to centralize it using only the classes offered by bootstrap. My form: <div class="container-fluid"> <div class="row"> <div class="span12"…
-
1
votes2
answers153
viewsJavascript message not appearing in input
Good morning. I want to make the result of the variable Cpf is displayed in the input 'gets'. practicing.php <head> <meta charset="UTF-8"/> <script type="text/javascript"…
-
1
votes1
answer916
viewsUpdate content of the HTML page with Javascript using SQL queried data
People have the following page, which works as follows: The user type the name of the city, click on the search button where he brings the results corresponding to the search in a table. By clicking…
-
1
votes3
answers66
viewsModify element through Javascript and "warn" page that element has been modified
$(document).ready(function(){ $("#myTextarea").change(function(){ alert("text area changed"); }); //$("#myTextarea").keydown(function(){ //alert("text area changed"); //}); }); setTimeout(function()…
-
1
votes0
answers790
viewsAssigning value to an input - jQuery
I have two input type="hidden" from which I make an Ajax request to an external file in order to assign values to it. The request is returning me the value correctly, everything is right in it, but…
-
1
votes3
answers1448
viewsError - fa icons (Fontawesome.css)
Some class icons like, fa fa-user appear within the system, but other icons like fa fa-user-circle-o hyphen do not appear. Follow below the image, as you can see is no icon Access Edition: CSS code:…
-
1
votes1
answer56
viewsUpdate price within a box with jquery
I have a page with several boxes containing some information and the price of the product, a URL and a select, when the person select a different option in select the price of the product will be…
-
1
votes0
answers52
viewsCreate element among child elements of the same Father
According to the code below: var ul = document.getElementsByTagName('ul'); var ref = ul.item(0).children; var saida = ''; for (i = 0; i <= ref.length; i++) { if (i == 0) { var HTMLString =…
-
1
votes4
answers286
viewsPut Required in function
I want the text box to be mandatory so I have to fill it out, can you help? <html> <body> <p>Please input a number between 1 and 10:</p> <input id="numb"> <button…
-
1
votes1
answer625
viewsComparison of Mysql data from two different databases - PHP
My web application should access two different databases on different servers, put the column of the two databases on the screen and compare the result between them. However, it only returns the…
-
1
votes1
answer105
views$routeProvider does not work - Angularjs
I’m trying to do something simple on Plunker which is to load the contents of home html. in index.html, however, is giving error. Before it was not working even this line of code(when put the…
-
1
votes1
answer255
viewsSQL command does not work with select
Follow my complete code: <? include("conectar.php"); $query = "select * from pagseguro ORDER BY Referencia DESC"; $result = mysqli_query($db, $query) or die(); if($_REQUEST['alterarStatus']){…
-
1
votes1
answer925
viewsHow to make a div disappear and appear with Javascript
I know there are many topics talking about "how to make a div appear and disappear with Javascript", most of them teach you how to do: document.getElementById('divaqui').style.visibility = 'hidden';…
-
1
votes2
answers787
viewsReset option select
JS: function alterarStatusFunction(val){ if(val =="aprovado"){ if (confirm('Tem certeza que deseja alterar o status dessa transação para APROVADO?')) { document.formtransacoes.submit(); } else {…
-
1
votes0
answers97
views -
1
votes0
answers40
viewsHow to capture error: SERVER RESPONDS REQUEST-URI TOO LONG, STATUS = 414
I’m making a chat application, which opens a file (via file input) and then converts to DATA URI. (I am using Pubnub) when I send the string, I get a 'URI Too long' error. How can I compress the…
-
1
votes1
answer334
viewsInsert data into the chart
I have the following code: window.onload = function () { var chart = new CanvasJS.Chart("chartContainer", { title:{ text: "Desktop Search Engine Market Share, Dec-2012" }, animationEnabled: true,…
-
1
votes1
answer575
viewsRun javascript after PHP
I’m trying to run a PHP function after the page’s Ubmit, but I haven’t been succeeding. Could someone help me? <?php function teste() { ?> <div> <p> <?php echo "Foi clicado";…
-
1
votes5
answers1319
viewsInsert "X" value after some characters
On my form, there’s a textarea and I would like to add, every 10 characters typed, the character X, without submitting the page. Example: AAAAAAAAAA**X**BBBBBBBBBB**X**EEEEEEEEEE**X**12345678.... As…
-
1
votes2
answers258
viewsCreate interactive grid with CSS
I wanted to create a grid interactive where when the person clicked on the image this same one appeared large beside, shopping site style. <div id='gridImagens> <div> <div>…
-
1
votes2
answers144
viewsCalling method in the action of a form that invokes which page should be redirected
When entering a value in the input text, I should consult the bank to check if it exists. If so, I should redirect to formDetails.php. If not, I should redirect to formRegister.php. I’ve been…
-
1
votes3
answers816
viewsCenter Vertically
I have a div and within it I have 2 more, one for an image and one for a text. I need the image to always be centered vertically, regardless of the size of the text. .lista_teste{ width: 100%;…
-
1
votes2
answers70
viewsHTML within d HTML
I have a doubt here. I have the following HTML code: <html> <head> <?php $logado = 'my name'; ?> <link rel="stylesheet" type="text/css" href="cabecalho.css"/> <nav…
-
1
votes2
answers268
viewsDoubt with Jquery Load
I have a menu that I will use on all pages, so I want to upload the content: I’m doing like this: <head> <meta charset="utf-8"> <!-- This file has been downloaded from Bootsnipp.com.…
-
1
votes3
answers64
viewsMaking a div reappear
In the yellow div (id="conteudo") there’s the pink div (id="conteudo-interno") and an image. The button makes the yellow div is clean, but I would like everything to disappear, except the pink div…
-
1
votes1
answer50
viewsWhy does variable increment function not work in Angularjs? Am I not accessing the variable correctly?
Hello. I need to change the value of a variable in Angularjs but I am finding the following problem: "Cannot set Property 'quantity' of Undefined". By clicking the button add, need the variable…
-
1
votes1
answer789
viewsJavascript/Jquery/HTML Mobile Button
Personal need to make a mobile button (click and drag anywhere on the screen), I am not understand why this is not working... Someone knows? .corpo{ background-color: #555555; } #button { position:…
-
1
votes1
answer6582
viewsHow to put input and label side by side with bootstrap?
I have the following HTML structure: <div class="col-xs-4"> <div class="form-group"> <label for="vencimentoBolsa">Vencimento:</label> <input type="text"…
-
1
votes2
answers4603
viewsChange font size Javascript/HTML/Jquery
created this application in HTML/Javascript/Jquery ... I wonder how I put a button to increase font size within the textarea. Anyone have an idea? <html> <meta charset="UTF-8"> <!--…
-
1
votes1
answer802
viewsHow to change the Color background of a DIV with Class and Id?
I’m having a problem with my Javascript code, I can’t change the background of a div, and I set it in CSS with a class and its color is white. function escolha(id){…
-
1
votes2
answers679
viewsFormatting result to currency
How do I format the value of two input in the currency format by rounding the values. For example, if the commission is 1200 the return on input ir and valor líquido give 18% and 1.182, but when it…
-
1
votes3
answers197
viewsPress button and appear "CURSOR/ or ANYTHING" until operation is finished
I have the following code in javascript and ajax: function marcar_consulta(id_paciente,id_horario, data_consulta ) { $.ajax ({ type:'post', url:'insert_consulta.php',…
-
1
votes0
answers31
viewsAzure error: I can’t load view from the controller!
I have a news registration system developed in PHP (MVC) in which each url triggers a controller that calls a view. But in Azure is not called the corresponding view while in xampp/apache the system…
-
1
votes0
answers259
viewsHow to edit data from a table in a modal bootstrap?
How to load a modal bootstrap through a link within a tag < td > and send together column value Code, Name and Date example: jquery: $(document).on("click", "#lnkEditar", function () {…
-
1
votes2
answers131
viewsConvert power
I have a function format(input) which transforms code citation from a numerical expression, to become more readable to the user with Unicode characters. e. g. "3 * 2 + 1 - 5 / 2pi" -> "3 × 2 + 1…
-
1
votes1
answer391
views