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
answer68
viewsFixed jquery scroll at top by clicking on a div #
Next people I have a problem because when I clicked on a menu anchored by a #id it did not stay with the scroll at the top and so the content was cut because now I put this function and it worked…
-
0
votes1
answer352
viewsError in mat-select when trying to choose an item
Error: ngModel cannot be used to Register form Controls with a Parent formGroup Directive. Try using formGroup’s Partner Directive "formControlName" Instead. Example: My HTML <div…
-
0
votes2
answers941
viewsGrab id from clicked button when clicking another button
I need to make sure that when the user clicks on the options button, it keeps this id value and when you click on another "confirm" button it shows the id of the first button clicked. I tried to do…
-
0
votes1
answer58
viewsJquery after Reload
I wonder if there’s any way to do it, because I have a function that when I click on a menu button it captures via jquery the id of the page but if example I am on the START page that has no id and…
-
0
votes0
answers72
views -
0
votes3
answers670
viewsAlert Ao Enviar Email com Sucesso
Guys, I need help when the email is sent successfully appear a message, in an Alert(may be another way), saying q was successfully sent , so the user has no doubts whether it was or n. Follow the…
-
0
votes0
answers16
viewsLoader bug jquery
I’m having a problem in my jquery jQuery: /Pre-Loader jQuery(window).load(function () { $('.site').hide(1); $('.id-sub').hide(); $("#loading").fadeOut(2000,function(){ $('.site').show("slow");…
-
0
votes1
answer157
viewsI need to play a php variable in javascript
I have a code where I need to put inside a javascript a variable that is the ID of the person I’m pulling, but I can’t find the solution. Where am I going wrong? <?php echo " <tr>…
-
0
votes1
answer49
viewsPrevent running . js on mobile
"It’s not a duplicate because I don’t want to measure the page size, I want to check the device through some function." Next I’m wanting to prevent a file . js to be read on mobile, I want it to run…
-
0
votes1
answer51
viewsProblem with "mouseleave" and its reaction with SVG images
On the site there is a popup that in case should only appear when the person takes the mouse from the site area. But it was appearing when clicking a button that jQuery('body').mouseleave(function()…
-
0
votes3
answers7056
viewsChange background-color when click
I need the button to change color every time clicked, I used Focus but does not bring me the expected result, because after the button is clicked, the user needs to click another corner, so the…
-
0
votes1
answer201
viewsWarning: mysqli_real_escape_string() expects Exactly 2 Parameters, 1 Given
I’m making a posting system using PHP and Mysqli, but there are some errors that I’m not able to fix. Follow the PHP code below: <?php if (isset($_POST['enviar'])){ $autor =…
-
0
votes1
answer122
viewsScroll Jquery html css
I need to make a scroll change menu as it descends identical to this site http://www.flatslife.com/ could help me where I might be finding? <div id="cssmenu"…
-
0
votes3
answers789
viewsDoubt Passing Laravel Array Routes
The doubt is the following, in my PDF generator, when I click on generate, it generates a pdf with all the information that is contained in the tables of the database, so I’m in doubt dom how to…
-
0
votes3
answers523
viewsHow to make a panel with double information with <tr>
I can understand basic handling of <tr>, as in the example below where we have information on each line. <!DOCTYPE html> <html> <head> <style> table, th, td { border:…
-
0
votes0
answers80
viewsCalculate value between <h> using jquery
Good morning, I have the following code: <section id="four" class="wrapper special"> <div class="inner"> <div class="features" id="Comprando"> <div class="feature">…
-
0
votes1
answer97
viewsTurn the results of an HTML form into HASH with Jquery and Javascript
I’m trying to see the credit card hash informed to test with Moip, but my Javascript does not show me on screen, returns me [Object, Object], I would like to see the full hash to pass to Moip. PS:…
-
0
votes0
answers24
viewsDate sorting with Jquery
Hello, I need to sort my news so that the last post is at the top, the difficulty I’m having is where I should organize my array... This issue is different from sorting by date pq HTML is not…
-
0
votes1
answer286
viewsTransform html image into angular blob
I have the following image: <img id="preview" class="cropped rounded-circle align-center animated fadeIn" width="220px" height="220px"> I need to pass it to a function that will convert to…
-
0
votes1
answer6560
viewsLocalstorage + PHP
I am capturing the data from a Localstorage, but when I put the information in a PHP variable and search on the server, the query does not perform correctly. <?php session_start(); try{…
-
0
votes2
answers4843
viewsAlign inputs and reduce spacing between Abels using CSS
I’m not getting my line Labels and reduce vertical spacings between Labels and the inputs. Some are adjusting and some are not. I would like to reduce the vertical/horizontal spacing that distances…
-
0
votes2
answers39
viewsMouse Event on Two Screens
I have a screen with red background, when clicking on it opens a new with blue background. This blue background screen should trigger a Alert when you click on it, but it’s not happening. Could…
-
0
votes1
answer160
viewsDoubt Compare Values Returned from JSON Webservice
I have a site in Wordpress and in it I am consuming a Web Service, I created a function to filter the championships based on some information: Sex : M Modality : 2 Category : 4 If all are true, it…
-
0
votes0
answers34
views -
0
votes0
answers194
viewsAjax Request Error and jQuery Versions
I’m having a problem understanding and solving a problem with a request Ajax that I need to do. Below is a list of the sequence of the subject that I will say: Explain what I need; Explain what I…
-
0
votes1
answer22
viewsDoubt print more than one item in return JSON web service
I have a site in Wordpress and in it I am consuming a Web Service, I created a function to filter the championships based on some information, If all are true, it returns the name of the respective…
-
0
votes1
answer41
viewsHelp using setItem and getItem from localStorage
I’m trying to save an answer, but I’m not getting it every time I refresh the previous answer back. Follow what I’m trying to implement: <!DOCTYPE html> <html lang="pt-BR"> <head>…
-
0
votes1
answer63
viewsMake files available according to client group using php
I need to make available on an Opencart information page 2 price table files, where one is for retail and the other for wholesale. The page that will show the link is only accessed if the customer…
-
0
votes1
answer277
viewsHide information from an Ionic/angular Collapse
I have a Collapse that works well, however I need to hide/show the trigger according to the index of that product. What I currently have: Html: <p data-toggle="collapse"…
-
0
votes1
answer51
viewsSpecific positioning doubt in CSS
My João da Silva page, in the Section "Blog" has a white band at the bottom that I can not take out at all. They follow the relevant parts of the script and a print: Print: html: <section…
-
0
votes1
answer1206
viewsHow to iterate array within an angular ngFor/Ionic
I have the following model: export interface Perguntas{ historico:[{id_historico: number, resposta_historico: string}] } In my file ts I perform an http request for a service that returns these…
-
0
votes1
answer1469
viewsChange color of icon
How do I change the color of an icon when clicked? I have created custom icons and are working perfectly, but I would like that selected, change your color. I’ve tried everything but I haven’t got…
-
0
votes3
answers602
viewsHow to align vertically and horizontally element within a Row in Bootstrap?
I’m having a huge problem centering a text under an image in Bootstrap. I’ve tried everything, with position, table-Cell. .bloco-materia { text-align: center; padding: 25px 50px; height: 200px;…
-
0
votes1
answer365
viewsuse ion-select dynamically
I put as options in ion-select, South zone, north, center and west. I want when I click on some option, to show only the information of that zone by taking the information from the database. At the…
-
0
votes2
answers55
viewsHow to make multiple Ivs that alternate between visible and invisible?
I’m a beginner in Angularjs, and I don’t know how to proceed in this case. I know how to create a panel that can appear and disappear as a variable in the controller, like this: <div…
-
0
votes1
answer179
viewsLine breaking with Onclick Javascript
I have a function, that when clicking changes an element, but also ends up breaking the line, I tried to solve using the preventDefault(), but without success. When clicked on the icon…
-
0
votes1
answer225
viewsAdd value to an input as per selection of an angular/Ionic combobox
I have an input text and need that when I choose an option in a combobox receive this value, but without deleting what is already written. What I tried to: <ion-textarea name="resposta" #resposta…
-
0
votes1
answer521
viewsHow to put a. php pagination script on my website?
I’ve already built a website, but I’m having trouble with the paging system. I don’t know how to handle php, I found some videos on youtube and got a script of php pagination. Now I need to put this…
-
0
votes1
answer89
viewsHow to remove javascript cloned elements
How to remove only the last cloned Ode? document.getElementById("add").onclick = function clonar() { var linha = document.getElementById("linha"); var clone = linha.cloneNode(true);…
-
0
votes0
answers485
viewsProblem with the DOMPDF
I have the following form : <div > <form id="form" action="laudo_solicitacao_completo.php" method="POST"> <fieldset> <label class="ui-corner-bl ui-corner-tr" for="numeroCNES"…
-
0
votes2
answers975
viewsSave PDF Form - Bootstrap
I would like to save the form in PDF or print but keep the layout displayed on the screen. Example: <!doctype html> <html lang="en"> <head> <!-- Required meta tags -->…
-
0
votes3
answers1365
viewsCreating html elements in javascript looping
I am very new with javascript and when it comes to creating loopings I get totally lost, the code below is to create the elements with each click and number the id and the text, but I’m having…
-
0
votes1
answer83
viewsHow to save an array to separate lines in DB
How can I send a textarea containing multiple names, one per line, so that each line is a record in the database? in addition also to each line receive the amount sent per school and class, I am…
-
0
votes1
answer65
viewsFixed values and values in javascript looping
The code below creates new input and send the values to textarea, as the number of input is undefined it was necessary to make a looping to catch the values through the name, it works normally if…
-
0
votes1
answer23
viewsInformation is off the table in while
Only the first information from tbody is shown the others appear however in lines outside the table. What may be making this happen? follows below the code snippet: <?php } }else { $sqle =…
-
0
votes1
answer210
viewsCalculate values with Inputy type="range" and Javascript
Dear, hello. I need to do some calculations using input type="range", but I am not able to run the code on my machine, only in online editors and I would like to know why this occurs? I use windows…
-
0
votes0
answers375
viewsResponsive text box
I have a text box on top of an image-map that’s responsive, that way: <div class="lala" role="main" style="height:100%"> <img class="imgg" src="../images/sellec.jpg" style="opacity:0;…
-
0
votes1
answer119
viewsRecover data in database by checkbox
Good afternoon I am having difficulties in recovering the data in the database via checkbox. <div class="container"> <div class="row"> <form action="resultado.php" multiple…
-
0
votes2
answers72
viewsContrast application on the page via cookies
I have a button on an accessibility bar, which when clicked calls the following function: function contraste2 () { var css = document.querySelector('#css'); var contraste = Cookies.get("contraste");…
javascript html logic cookies accessibilityasked 6 years, 2 months ago Recurso de Acessibilidade 31 -
0
votes0
answers36
viewscustomize Validator.js when leaving the field
Good afternoon, you guys I am working with Validator.js (bootstrap library) to validate fields of a form, I have a custom email field: $('#userForm').validator({ custom: { validemail: function($el)…