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
-
3
votes2
answers1392
views"Transform" one element into another with Jquery
In my script, I have one iframe. <iframe id="result" name="result" src="url_do_documento" sandbox="allow-same-origin"></iframe> The file q o iframe reference, contains an element h1, as…
-
3
votes1
answer3176
viewsReturn query on same page
I need to make a query to the Bank and return the value of the variables on the same page PHP. But even the test to try to understand logic didn’t work: <html> <form name="registar"…
-
3
votes1
answer992
viewsHow to make a pop-up to insert an email appear when clicking a button
What I want is something just like on this page. http://www.movingup.com.br/ By clicking "I Want to Watch" it opens a kind of pop-up asking for the email.…
-
3
votes2
answers7339
viewsHow to make button stick with another color when being clicked and selected
I wonder how I can use javascript to change the color of the button after it has been clicked; that is, below the code has 2 formats. If you click the A1 format, the button where the div is will…
-
3
votes1
answer1989
viewsPut icons on a treeview with bootstrap
I took a model of treeview with bootstrap and I have some problems, the code that they provide did not use icons, see the model…
-
3
votes1
answer486
viewsHow to get Json by Ajax in . html?
Suppose I have a file .html I just created in the notepad with a code Ajax where I want to get the data generated by this application. I made a code here, and when I put one breakpoint in the…
-
3
votes2
answers394
viewsChange image size and box with %, not working
I have a layout, where I have a div with an image, and a class with a box over that image, the same size as that image, and I apply a transition on top of this box to reveal it when positioning the…
-
3
votes2
answers152
viewsBilingual site with JS
I had to put a bilingual site and found this script below, which by the way helped a lot, but it always shows the two versions "BR" "ENG" before "hide" one of them. Even by changing the order of…
-
3
votes1
answer399
viewsWhat is the best way to organize a directory for a web project?
What is the best way to organize directories for a PHP web development project?
-
3
votes1
answer762
viewsHow to jump line with View Bag?
I have the following code public ActionResult Action1 { TempData["msg"] = "Essa parte primeiro.\n Essa parte na linha de baixo."; return RedirectToAction("Action2"); } public ActionResult Action2 {…
-
3
votes1
answer329
viewsZ-INDEX and BOX-SHADOW
I have the following code: <style> .all{ width:100%; height:100%; background:url(images/background.jpg); } header{ width: 100%; height: auto; display:inline-block;…
-
3
votes2
answers600
viewsEnable select HTML with
I have a table, where fields start disabled, and in a checkbox I choose which field to enable. Tagged input, works perfectly. But when I try to use with the select the same script does not work. I…
-
3
votes1
answer1379
viewsButton "Like/Like"
I want to make a button on my site with a counter next to it and I would like every click the counter to increase 1 number. But I wanted to save that number of clicks on a file .txt on the server,…
-
3
votes2
answers4065
viewsForward tab by clicking the button
I have a form for registration divided into tabs, where the tabs are disabled until the user clicks on the button to enable and go to the next one. The problem is that the way it is the user has to…
-
3
votes1
answer225
viewsOdd characters
I have a database with that encoding: and I also have HTML with UTF-8 encoding. But for some reason the special characters appear this way: And I can’t figure out why it happens. Can anyone explain…
-
3
votes1
answer20585
viewsHow to get current user location through the google maps API?
I am new to the development with this API and would like to show on the map that I am developing the current user position. My code: <script type="text/javascript"…
-
3
votes2
answers1526
viewsHidden fields appear/are modified with a select Multiple
Hello, I have the following select: <select name="hierarquia[]" multiple> <option value="Usuário" selected> Usuário</option> <option value="Moderador" selected>…
-
3
votes1
answer2370
viewsHow can I make a roulette in Javascript
Well my question is this:: I have a form in HTML, which when pressing Submit it gives me a random number from 1 to 5 in PHP. What I wanted to know was, how could I get PHP to click the button and…
-
3
votes3
answers276
viewsWhy does it always return null?
I created this fiddle as a test. I have this li within a variable and I intend to add the class c2 to that very same li var linha = '<li id= "id1" class="c1"> ' + '<div…
-
3
votes2
answers344
viewsUngroup tags using Google Maps API with Javascript
Good afternoon How can I design this group of markers that are located nearby using the Google Maps API? I searched however I found only Markerclusterer and other alternatives that are not from…
-
3
votes2
answers2084
viewsWrite input button in ASP.NET c#
I have the following code: r.Write("<th colspan='3' style='text-align:center'><input id='btEmail_" + (n - 1) + "' name='btEmail_" + (n - 1) + "' runat='server' class='btn bg-brownCinc'…
-
3
votes3
answers55067
viewsScript to go back to the previous updated page?
Well, I wanted something that did that when a person clicked to go to a page they were redirected to the previous page.. But the page updates... Is that I made a small system of comments, when I…
-
3
votes2
answers1379
viewsMark/deselect all dynamically created checkboxes
I’m creating checkboxes from the comic book. I have another one that defines whether all the other checkboxes are checked or not. When I run the first time it works well, but the second time it…
-
3
votes2
answers1007
viewsMulti-language system
I have a website and I would like to implement a multi-language system. I have some questions about good practice. I wish I had just one domain ****.com. I think this would require me to use systems…
-
3
votes2
answers945
viewsBootstrap grid for form
How can I do a line break on a grid using bootstrap For mine is staying in columns to the right instead of falling, even if the sum of 12 columns Ivs. I believe I’m making mistakes and not…
-
3
votes2
answers512
viewsHow to pass javascript value to AJAX
I have a javascript function that has an AJAX code inside it. I want to pass the javascript values to AJAX, follow the code: function validarCamposComprar() { var campoNomeEmpresa =…
-
3
votes2
answers579
viewsCentering right inside a list (ul)
Is there any way to center the logo of this example without using two lists? In the example website, it uses two lists to keep the logo in the center, how can I put the logo inside a "li" without…
-
3
votes1
answer72
viewsSort by a specific value
I’m using the plugin Datatables and in a column I possess the following structure JSFIDDLE And by default the plugin creates the default sort form that I don’t know which rule you obey, I would like…
-
3
votes2
answers76
viewsIs it possible to use min, max and step in CSS?
I have an input like number with a min and the max in HTML. it is possible to use this min, max and the step in the CSS? <input class=input_number id=delai type=number min=1 max=10 step=2…
-
3
votes2
answers129
viewsDefine css with php according to the browser
This morning I did this question. What I need to know is how can I do something like this: Check whether or not the browser is Safari. If it is, section#internal.services aside ul li a should…
-
3
votes2
answers1843
viewsCSS3: Show a hidden div when doing Hover over another div
Good afternoon. At this time I have 2 Ivs, 1 of them visible and the other hidden, being visible when I do the first. I would like, when revealing the div with text, the background of this fills the…
-
3
votes2
answers1253
viewsLayout with diagonal div and responsive
I need to create a layout and make Divs diagonally and responsive (100%), as in the example below: The contents inside have to stay horizontal Any ideas? Suggestion? Jsfiddle for editing…
-
3
votes2
answers1870
viewsJavascript input transition effect
Hi, I wanted when I opened a page my image would come from the bottom up, and when I got to the top it would disappear, all this in 10 seconds. How could I do that?
-
3
votes1
answer436
viewsHorizontal timeline as you scroll down
(function($){ $(function(){ // Slider functionality // slide knob to position function (function( $ ){ $.fn.slideToPos = function() { var left = $(this).position().left + ($(this).width() / 2) -…
-
3
votes1
answer127
viewsError in Maskinput Javascript
I’m having problems in a form field that is masked through the script below. MaskInput(document.getElementById('xxx'),'9999'); According to the function it should format the 4 characters of the…
-
3
votes2
answers1067
viewsDraw image using css
I wonder if you could draw the image below using css only? I’d like to create a button like this…
-
3
votes2
answers155
viewsIterate a form with JS
I have a form with some items, and some cells contain the bank code data and account code to receive. In the same cell I have 2 inputs distinguished, one checkbox and a hidden. I need to iterate and…
-
3
votes1
answer5204
viewsHow to remove alert from "Uncaught Rangeerror: Maximum call stack size exceeded"
I have a file .js on my website where I put some effects and everything else. The problem is that you are charging an alert "Uncaught Rangeerror: Maximum call stack size exceeded" and I don’t know…
-
3
votes2
answers97
viewsGenerated list with JSON data
I’m having trouble retrieving data from a JSON file within a list in HTML. I put my prototype on Plunker. Script... $.getJSON("list.json", function (json){ //alert("Carregou o list.json"); var…
-
3
votes1
answer184
viewsHow to maintain banner of website partnerships?
I’m developing a site where I will put banner of partner sites (visits touch) but I don’t know how should be the insertion of the partners banners but I thought of two ways. Insert direct into HTML…
-
3
votes1
answer493
viewsHow to convert HTML code to a PDF file in java?
I am developing an application where I need to convert an HTML code, which is saved in the database, into a .PDF. file.No need to save this file to the server. I’ve never done anything like this.…
-
3
votes2
answers1467
viewsCenter Horizontally
Can’t seem to center my div in the middle of the page! I tried to use what they posted in that post, in that other post, in the CSS Tricks and on a lot of other sites on google and I can’t center…
-
3
votes2
answers1199
viewsHTML with bootstrap responsive layout
I can not leave my layout as it should, the idea is to leave as follows: +-------------------------------------------------+ | logo | Menu Superior | | |------------------------------------+…
-
3
votes3
answers3409
viewsHow to receive a POST without the <form> tags in PHP?
<?php if(isset($_POST['pagando'])) { //faz alugma coisa } ?> <input type="submit" name="pagando" value="PAGAR"> Gave a general blank here personal. How to send pagando to the PHP without…
-
3
votes1
answer56
viewsAlways leave line at the top
I’m using the plugin Datatables and wanted a line to always be at the top regardless of the sort or search that was done as if it had a static "position", always in the first place Does anyone know…
-
3
votes1
answer1029
viewsIframe link opening in new tab?
There is the possibility when the person clicks on a link in a iframe, this link opens in another tab? I don’t have control of the HTML of the other page, so I can’t put the _blank at the link by…
-
3
votes1
answer70
viewsBy creating a search link?
I have a problem in a project, there are 3 product search fields and a search button. example: https://jsfiddle.net/juliomoreira666/u3ss4uye/ He wanted that as the fields were being filled, the…
-
3
votes2
answers135
viewsJavascript - Populate a field with paragraph
I am developing a javascript to popular a text box, but I came across a situation that is causing me difficulty. Need popular with this message for example: TEST TEST TEST But I’m not getting to…
-
3
votes0
answers29
viewsSite migration with plenty of content
I am migrating a site of 5gb from a windows server to a linux. First of all I am downloading the files that are online via FTP to leave a backup on my computer. But this method is taking too long.…
-
3
votes1
answer217
viewsHow to put Transition in Form Option
I’m having a little trouble applying an effect on an Option, I have a form where you have Name, Email, Phone, Themes. In where is Themes he has a Children’s Decorations option, when selecting…