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
answers5577
viewsHow to see if a "file" input file has been selected?
Is there any way to know if the file type input has any file already loaded, ready to be sent? I want to make a condition where if you have some file to upload in the first input, then show an add…
-
3
votes2
answers2867
viewsAssign selected item in a <select>
I have the following code: $("#cep").on('mouseout', function() { var url = "http://cep.republicavirtual.com.br/web_cep.php"; var cep = $(this).val(); $.ajax({ type: "GET", dataType: 'json', data:…
-
3
votes1
answer5980
viewsHow to pass parameter in an Action Link values that are in HTML elements?
I have 2 HTML elements, a TextBox and a Hidden, which have values, how to pass the values of these elements in the Action link parameter? Below the parameters docItemId and vlrImobIcms are making a…
-
3
votes2
answers166
viewsCustomizing the Scroll of a div
As there are many resolutions from several different devices, I’m having a hard time displaying a feed list. Follows an image of how I think best to display such a DIV (list), in view that the page…
-
3
votes2
answers2903
viewsHow to customize scrollbar in Chrome?
I have a select Multiple combo that can not take up much vertical space, so the ideal would be to be able to scroll down with that traditional arrow to navigate from 1 to 1 item down. Have some way…
-
3
votes2
answers386
viewsRotation check in javascript
Is there any way to check the rotation of a div in javascript, for example the verification of style left is offsetLeft, someone could tell me what the rotation would look like?…
-
3
votes2
answers428
viewsFloat:left, div falling by the width of the div
I have a problem with float:left;: for a width greater than the page a div fell, but I wanted it to continue div previous. HTML: <div id="menu" class="menu"> MENU </div> <div…
-
3
votes1
answer2956
viewsTake the value of an image attribute and show it below
I have this code: <script> $(function(){ $(".flipster").flipster({style: 'carousel', enableTouch: true, start: 0, onItemSwitch: function(){ var nomeAlbum = $(this).attr("data-title");…
-
3
votes2
answers2104
viewsHow to add R7 portal bar on site?
I need to implement that R7 portal bar at the top of a website, does anyone know any way to do that? It’s got to make this bar adaptable to any screen size? That’s the bar:…
-
3
votes3
answers34761
viewsError: "You have an error in your SQL syntax"
I am getting the following error when time to perform a query to insert data into a table in the database: You have an error in your SQL syntax; check the manual that Corresponds to your Mysql…
-
3
votes1
answer272
viewsJquery Cycle - A centralized slide and the other two partially appearing
I am in need of a slider that would have at least 3 slides, where the middle one would appear completely with the resolution and the other two sides would appear partially. I’m using the solution…
-
3
votes4
answers8962
viewsI cannot do an onchange event to change a photo when we select the select field
When I select a select option I would have a different image appear in the img I created, but it’s not working. HTML code <select id="produtos" onchange="mudaFoto()"> <option…
-
3
votes1
answer3352
viewsObject appears at a certain place on the page
My question is this: I want/need a code for my site, which works the way of this website. In it, when the user uses the scroll mouse to scroll down a bit on the page, a little arrow (which when it…
-
3
votes3
answers3204
viewsButton next to text bar with Bootstrap
I am trying to create a very simple form with Bootstrap which consists of only one text bar and a search button. But, although they are both in the same .form-group, to text bar has a width 100% and…
-
3
votes2
answers887
viewsReplace symbols < /> with Javascript
I’d like to know how to replace the symbols < /> with Javascript. I’m using the tag <code></code> to display a code, but I don’t want it to be rendered in the browser. I know I can…
-
3
votes1
answer1892
viewsAutomatically select a select and press the button
I got a field like <select>/<option> that when the user selects a value I call a function to popular another <select>, type the state and city combos, this is working, and then the…
-
3
votes2
answers2905
viewsAutomato for navigation in a Webforms application
Guys, it wasn’t the first time or the last time I had to implement an automatic routine that accesses a website or system created on the Webforms platform to capture information. It has been…
-
3
votes1
answer760
viewsHow to apply css to body inside an iframe?
I want to apply background: Transparent on the body that is created within an iframe. For example: <iframe src="http://www.meusiteteste.com.br" id="frame_result_show"…
-
3
votes3
answers497
viewsTake matrix size with EQ() - Jquery
I’m with a html which has five elements div. I would like you to help me somehow to make a Get the size of this matrix in Jquery. Ex: with the function eq(), consige take a page element, referenced…
-
3
votes3
answers60168
viewsHorizontal line in the middle of an unordered HTML list
I have an unordered list that has some list items and would like to place a horizontal line (horizontal Rule < hr >) on it, right in the middle, with height of 2px. I tried to put…
-
3
votes1
answer181
viewsusing jquery.cloneya plugin hook
I’m using the plugin of jquery.cloneya which is a plugin to clone forms that were already included in a template of an administrative panel I’m using. I don’t quite understand how to use the hook…
-
3
votes1
answer360
viewsDivs being added on top of each other
I have three menus, when I click on each one, it leaves a div that was like display:none as display:block. What is happening is that your clicking on Menu 1 and then on Menu 2, it is adding a div at…
-
3
votes3
answers462
viewsMy code does not abort form submission as it should
I made a form, and before sending I check if the person typed the user and password. I put this in the event submit, but it doesn’t seem to work. The code: <script> subimitar = function(){…
-
3
votes2
answers1390
viewsDynamically change a class background
I have a site where the content creation is dynamic and the user can choose the color to be used in components, but, I need him to see the update in real time, then, I need the class to be changed…
-
3
votes1
answer2104
viewsReal-time values in the input type="range" class
Well, I tried to do the values in one input type="range" demonstrate in real time to the user to select more I’m not getting. with jquery is also the same just by dropping the mouse from the class…
-
3
votes1
answer802
viewsHow to link the Forms created in Django to the forms already created in the HTML template?
I started to see about forms in Django, only I had already created in templates of my project the forms with all inputs necessary. With the creation of forms in Django there is a way for me to link…
-
3
votes2
answers4464
viewsGetting the full path of a client file in ASP.NET
On the server side, you can get full path of a file sent by a client using the tag <input type="file">? For example, if the user sends the file C:\Users\Documents\a.txt, has how the server can…
-
3
votes2
answers807
viewsDo not view PDF inside the browser
I have the following anchor: <a href="http://localhost/refazer/uploads/0503-14.pdf">Conteúdo</a> By clicking this link automatically the browser recognizes that it is PDF and views it.…
-
3
votes1
answer3622
viewsHtml5 audio player customization
I come with your doubts for some time, there is some possibility of customization of the player audio Html5. So far I know that there is possibility using plugins developed in javascript, but this…
-
3
votes1
answer426
viewsHow to make a Spinner that only accepts numbers in Primefaces?
I am using Primefaces for a college project. How do I make "Spinner" not accept "Characters" only numbers? Idade: <p:spinner id="spinnerBasic" max="120" value="#{spinnerController.number1}"/>…
-
3
votes2
answers673
viewsCheckboxlistfor with error
Description: Error when compiling a resource needed to fulfill this request. Examine the error-specific details and modify the source code appropriately. Compiler Error Message: CS1061:…
-
3
votes1
answer73
viewsDisable page drag on a mobile device
I’m developing a page where we have a <input type="range" min="1" max="10" value="5">. Whenever I have to drag this input, If I miss the finger, I end up unintentionally dragging the full…
-
3
votes2
answers1138
views -
3
votes1
answer2989
viewsHow to make a horizontal list of images that does not break?
I want to make a list of images horizontally, but they’re falling, look: My CSS: #fotos{ margin-top:30px; width:650px; overflow-x: hidden; height:110px; border:1px solid #CCC; } #fotos ul li{…
-
3
votes1
answer515
viewsHow to access the Clipboard image from the browser?
Does anyone have any idea of how to access the image that is in the Clipboard when we give a Print Screen on any screen? What I need is to have access to the image by giving a ctrl + v in the…
javascript jquery html google-chrome clipboardasked 10 years, 9 months ago Ivan Ricardo Lopes 1,376 -
3
votes1
answer582
viewsGoogle Images Chrome and IE
I’m making an HTML site. When opening the image, in PNG format, in Google Chrome (below) it appears correctly and when opening in IE 11 (above) it appears with pixels <td id="Autorizado"…
-
3
votes2
answers1168
viewsPositioning scripts and css links in an html document
I always put the CSS scripts and links at the top of the document in the head of the document. Now I realize that there is another concept where the calls to scripts and CSS, are at the bottom of…
-
3
votes1
answer1544
viewsCan I use ANSI charset in HTML files?
In order to be able to publish texts daily using some editor like Notepad++ for example, I would like to type the words with an accent and save them in the HTML file. I’ve been reading that the…
-
3
votes2
answers361
viewsReturn div to initial position after animation?
How can I return mine div to the starting position if it reaches a certain point on the left? I have the following current code: $(document).ready(function() { $("#botao").click(function() {…
-
3
votes1
answer1345
viewsCSS responsive layout in columns
I am making a layout that will have two columns, the first on the left will compose a menu the second will occupy all the remaining space on the screen on the right side and in it will be the…
-
3
votes1
answer2870
viewsHow to select a radio when clicking on the text next to it?
It’s very simple to make radio buttons. I’ve seen inputs of this kind around that allow you to click directly inside the circle or on top of the text that refers to each radio button. How do you do…
-
3
votes2
answers2738
viewsHow to clear screen data?
I would like to know how to call the same screen only with empty fields! That is, the same screen only from the beginning, without the information that the user informed! Example of the fields:…
-
3
votes1
answer778
viewsDjango - How to distinguish which button was clicked?
In my application’s search template I have 3 tags <button>, one to search, the other to edit and the other to delete: <button class="btn btn-lg btn-primary" type="submit" id="buscar"…
-
3
votes2
answers97
viewsHow to add javascript files according to viewport/device?
I’m using the script skrollr.js on a website and when opening on mobile phones the scroll bar is not working (it is as if the touch of the phone was blocked). I wanted to know how to disable scripts…
-
3
votes1
answer664
viewsHow to create redirects by country?
How can I create redirects by country? I mean, suppose I get a visitor from Mexico, then you’d have to redirect to meusite.com/mx/, already if I receive a visit from Brazil go to meusite.com/br/ or…
-
3
votes3
answers988
viewsA single script for N Formularios
I need to know the correct way to when I submit a form a single script solve, the code below only works if I create a script for each form. How do I fix it? Example: $("#meuform") ... $("#meuform2")…
-
3
votes3
answers522
viewsHide div, display only at home
How do I make to hide/remove the slider and banner underneath it with Javascript? I need him to stay at home only, but he’s repeating in every department website.…
-
3
votes2
answers5945
viewsGet full monitor width using CSS3
Is there any way to get the width total of a monitor using CSS or CSS3? I know that in JS there is a $(window).width(); which associates to a variable the width of the monitor size. Now I needed to…
-
3
votes1
answer58
viewsAutocomplete via java doc in sublime
I don’t know if I can express myself properly, but come on. In Java, when commenting on the code, we use the default /** * @author Nome do Autor; * @method Nome do Método; */ From this, in an IDE…
-
3
votes1
answer2966
viewsJquery how to select a specific element by index
I would like to know how to select a specific element by the position of the index, because I can go through the structure with the next and Prev functions, but I’m not finding a way to select an…