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
answer34
viewsTable showing only a few columns of the database
I have a system that: On one page there is a search filter that when filled takes to another page with a table that only shows the records that meet the restrictions required by the filter. The only…
-
0
votes2
answers16136
viewsPrint a Javascript variable in Input html
<script> function Sumar() { var n7 = document.getElementById('txtN7').value; /*Fator tempo*/ var n8 = n7.replace(',','.'); var cem = (n8)/4; /*Calculo de fator*/ var n1 =…
-
0
votes0
answers52
viewsRead loop web pages converting to text
I need to read several web pages successively in loop, converting each page to text. The goal is to read quotes of various shares, Yahoo Finance website, for example. I’ve tried several resources,…
-
0
votes1
answer111
viewsHelp with Ajax does not send data to the database
I’m trying to submit a form to my database. Ajax says that the user’s registration was carried out successfully but when I go to look in the database there is nothing there. My Form. <form…
-
0
votes4
answers146
viewsChange button link according to an option
Guys good afternoon. How to do a javascript function to get the input value and according to the input redirect to the link I want. Turma 1 - Option 1 Turma 2 - Option 2 Link turma1 ex: google.com…
-
0
votes1
answer272
viewsCreate a video by javascript
I tried to create a video on my page that is generated by clicking the button through javascript, as follows in the code: function tocar_video(mysrc){ var video = document.createElement('video');…
-
0
votes3
answers399
viewsCapture Form - More Correct Way
Formerly I called a specific form per creation ID in the body of the document: document.forms[0] Only then did I understand what the attribute is for NAME in these cases, but I was in doubt, for…
-
0
votes1
answer2151
viewsCalculator with 4 basic operations and create a location for the user to write their information and display in Alert after the result
Hello, it’s my first post on this site and I would like a help, I need to create a calculator that the user can put the name so that when Alert displayed the result, the name appeared, for example:…
-
0
votes0
answers35
viewsRemove Id when click and Add when close
I’m having a problem at the time of remove a specific id, When I click on the Button continue reading. I created Btn event, Inside I’m passing the parent parameter and trying to remove the child…
-
0
votes2
answers72
viewsSession does not logoff in php
I am creating a small site, but when I press to exit, the site depresses, but if I put the link of one of the pages, I can enter the system and not check if the login was done, even with security…
-
0
votes1
answer28
viewsError In php variables
I was trying to make the connection to the database, but the bank is only saving the ID user’s. {$con = mysql_connect("localhost","root", ""); mysql_select_db("cadastro",$con); $nome =…
-
0
votes2
answers1546
viewsPicking input values from a given form
I have the following scenario: Several forms, but I need to set all inputs only of the form that is in action, which is triggered by the button. function enviaForm(id){ $(id).submit(function(){ var…
-
0
votes2
answers66
viewsHow to generate HTML at a specific point in the page?
I’m learning to code in Javascript and jQuery, and I’m having trouble generating HTML code. Given an HTML body how do I insert HTML code within a specific place? In the case below I already know how…
-
0
votes1
answer259
viewsHours manipulation [HH:MM:SS] - php and mysql
Good afternoon, you guys. I need to manipulate time fields [HH:MM:SS] in PHP itself. I take the text values in the HTML form as in the following example: <div class="item form-group">…
-
0
votes1
answer35
viewsDoubt about UPDATE (Edit.php)
I am developing a Process Registration system for the City Hall of my city and came to me a question. Is it possible, after recording the data, to edit only once the data? Only one, after that is…
-
0
votes2
answers80
viewsI can’t see the error (PHP and HTML)
I wanted to show the names of the employees and the teams that they are part of so that if the user enters a name, it will filter all the teams that that person is part of. It’s coming in white.…
-
0
votes2
answers217
viewsTake content from a list of a website and save to the PHP database
I want to enter the site below, save all html in a variable, clear html and save the content I want in the database Mysql via PHP 7. The site is:…
-
0
votes0
answers47
viewsHow to create a loading without AJAX
I have a download button that makes a GET request that makes a Download. It all happens on the same page, but without AJAX. Not using the tag download. Is using the Laravel that internally makes the…
-
0
votes1
answer844
viewsCreate HTML list with SQL query return
I need to return the query SQL on a list HTML. In the precise case of line with "affiliate" and "name", the query below, returned correctly the requested data, but now I need to put this data one…
-
0
votes0
answers94
viewsCalculate expression in a single Jquery input field
I’m developing a calculator on HTML + Jquery where I have the basic operations for it, but need to implement the following: When the user type in the field input a kind of expression: (5*5)+4 the…
-
0
votes2
answers980
viewsInsert Image with CSS Without Line Break
I have the following problem , when I insert some photo with the background it keeps breaking line : I wanted them to line up : Ex: [Imagem] - [Imagem] HTML: <span id="vote"><a href="#"…
-
0
votes2
answers2717
viewsPick user input value with jQuery
Hello! Here’s the thing, in my form, I’m trying to get the value typed by the user in the input way below: // jQuery function teste() { var nome = $("#nome").val(); alert(nome); } // HTML <form…
-
0
votes2
answers486
viewsHow to delete an element from an Array with Onclick? Javascript?
i am with a code that, render the elements of the Array on the screen, and each element of the Array, has a button delete next door. I wanted to know how to delete it from Array and consequently…
-
0
votes1
answer702
viewsRadio button assignment via div
I need to ask a simple questionnaire of questions and answers of multiple choice, in this case I chose the radio button... In my PHP I’m receiving the posts and I’m already checking the answers with…
-
0
votes2
answers56
viewsHow to leave the four in a row?
<div class="container py-4"> <div class="row"> <div class="col-md-10 my-4 mx-auto"> <h2 class="text-center display-4">Bootstrap 4 Pricing Tables</h2> <hr> <div…
-
0
votes2
answers972
viewsRun "Send File" without having to click the input file
Example : When I click on my "camera icon" : Instead of appearing that little box of "Select File" : I need you to open the "send file" box" : HTML of the icon <i class="material-icons…
-
0
votes1
answer839
views -
0
votes2
answers1361
viewsInsert content from an HTML file into a DIV - jQuery/Ajax
I’m making a system GED here for the company where I work (very simple, just to organize better). I’m developing the screens first, then connect with the comic and make things work. I have a menu…
-
0
votes2
answers405
viewsHow to leave the footer with relative position and at least at the bottom of the page?
I am using in several pages the Sticky position of Html5 to give an effect in the menu of the site. But there are pages that the internal content is very small, does not occupy even 150px high and…
-
0
votes1
answer45
viewsHow to duplicate a triangle randomly within the canvas?
I’m trying to duplicate a triangle randomly within the canvas when you press some key, like space bar or other. But I don’t know how to duplicate if I have to use some kind of constructor/array.…
-
0
votes0
answers32
viewsSelect dependendes in php
I’m inserting information into a form and I need my selects to be dependent. In this case, I have two selects, containing status information and from the selected state, the city information will…
-
0
votes3
answers219
viewsDuplicate jquery code without refreshing and deleting text in form inputs
I’m creating this Javascript function, it creates a form and adds in the body of text in another div, only when I click the button it deletes the content that was already written in the input.…
-
0
votes0
answers86
viewsI cannot remove element from the list
When I upload photos using FileUpload I can’t delete from the list where I’m adding. Use that StremedContent to be listed contentNova every time the method is called by FileUpload. The problem is…
-
0
votes1
answer863
viewsHow to take the value of a php variable and use it in the ajax request
I am creating an order page with the code below, what I want is that when choosing the quantity of the product, it already appears the total value of product x quantity. If I set the value var…
-
0
votes1
answer6454
viewsReceive array method POST form
Good afternoon, I’m trying to receive a Form as an array, but I’m not able to properly manipulate this array. I have 6 fields 3 fields ID and 3 fields text , I tried to do so but without success.…
-
0
votes0
answers52
viewsmodal on top of another modal without accepting each other’s shortcut
I have a modal, which opens another modal, so far so good, I put a shortcut Ctrl+alt+c to cancel, so far so good, only I want that when I open the second modal, and click on the shortcut only it…
-
0
votes2
answers11323
viewsView data from a Json file in HTML
I’m stuck in a situation where I can’t turn the data blocks of the JSON file into HTML, nothing appears. Below I will put the codes for you to take a look NOTE: If you can refer me to a legal JSON…
-
0
votes1
answer49
viewsDifferent colors in cells
I make a query and show the result in a table as shown in the image: I intend that the column Zone when he shows up Daycare the cell turns red when it is Exterior the white one, when it’s Center in…
-
0
votes1
answer140
viewsHtml2canvas ASP.NET Core
I am trying to add html2canvas to my ASP.NET Core web site. In the documentation, they say to use: npm install html2canvas When I execute this command, the html2canvas is installed in:…
-
0
votes2
answers218
viewsjQuery’s "Immature()" does not work
I’m trying to make a relatively simple effect with the .animate() jQuery, but it’s not working. The effect in question would be to decrease the margin-top for the element to go up a bit. Note: if I…
-
0
votes0
answers36
viewsLoop in Json [PHP and MYSQL]
I have a data visualization page from a bd table, one of the cells in this table in html is actually a loop. I want to make the inline edition, which I’ve used in other projects…
-
0
votes1
answer159
viewsHover with Scale only in father div
Next person I own a div Father and inside her others divs I wanted to apply a css where to change the background to purple and the text and image to white until then works normal the problem is that…
-
0
votes1
answer44
viewsJavascript function does not execute when selecting a radio button
I created a Javascript function that needs to be executed every time one of the buttons on the radio button is selected. But nothing happens. Follow the code: <script> document.write( )…
-
0
votes1
answer102
viewsRun form by clicking a browser button
I have a form with an input file, and what I want to do is this. When I choose a file and press "OPEN" I need my form to be sent by clicking "OPEN". My form. <form class="form5" method="POST"…
-
0
votes1
answer148
viewsMaterialize Collapsible option does not work properly
I am using the Materialize Framework to display a list. This list can be expanded, but only works after reloading the browser several times with CTRL + F5. When I load directly into the HTML, it…
-
0
votes1
answer407
viewsHow can I remove table row with jQuery
I created a table with two buttons one has the function to add new rows to the table and another remove them. I tested this way and can only add new lines, when I try to remove an error happens. var…
-
0
votes3
answers1141
viewsHow to call HTML code inside css?
First of all, it is quite possible that there are already topics talking about this. It was not lack of research, I believe only that I did not find the correct keywords. Self-explanatory question.…
-
0
votes1
answer274
viewsEvent . jquery Keypress is not being enabled
In the table when pressing enter instead of activating the javascript event this being inserted a break line, ie the text function of enter not the event. // Função $(function() { //Função click na…
-
0
votes1
answer64
views -
0
votes1
answer1154
viewsAngular validate password field with Formgroup
I have the following code: TS code: ... onRegisterForm: FormGroup; ngOnInit() { this.onRegisterForm = this._fb.group({ nome: ['', Validators.compose([ Validators.required ])], email: ['',…