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
-
2
votes1
answer3970
viewsCalendario Javascript
I am seeing a Javascript calendar. I want to show every month of the year. My problem is that the first month works well, but the rest don’t stay on the right days. Step by parameter the number of…
-
2
votes1
answer86
viewsHow to mount columns from <ul>?
I have this code and I would like every four results to be entered a <ul></ul> to make columns of 25% wide and get exactly 4 columns. How can I do? <ul> <li> <?php echo…
-
2
votes2
answers62
viewsError in counting uppercase characters
I’m creating a role in jquery where the user enters his password, this function identifies how many uppercase characters are in this password, to calculate the strength of that password. I even…
-
2
votes1
answer483
viewsBackground with mosaic of photos
I need to create a background for my site in the style mosaico photo. When the page opens, the bottom of the site is filled with photos, filling the full width of the window (ie need to be…
-
2
votes1
answer115
viewsChrome auto page scrolling to select Multiple with selected option
When using the attribute multiple, the page when loaded, scrolls to the last <select/> containing a option with the attribute selected: Example in Jsfiddle <p>No Google Chrome a página…
-
2
votes3
answers656
viewsWhat is the best way to convert HTML entities with Javascript?
Through researches in the English OS, I learned to do decoding and encoding of HTML entities as follows: var wm = (function(wm){ wm.encodeHTML = function (html) { var t =…
-
2
votes3
answers165
viewsDoes not display user names in Jquery Alert
Well I want to access the text content inside the div and show in an Alert(), but for this I have a list of users selected from the database, I made a small trick to add a counter in each class of…
-
2
votes2
answers1301
viewsAdd input button to select
I want a button to call another page inside a select. The problem is that using this code, the button is always outside the select. <select> <option>teste</option>…
-
2
votes2
answers922
viewsHow to bypass table tags that are inside the foreach in PHP and HTML
I need to assemble a schedule of days and events. When one of the days of the event is equal to the day of the table, it has to appear on the screen in the correct place. I’m already being able to…
-
2
votes1
answer1517
viewsPassing variable to modal
I have a modal that opens at the end of an action (Example: Disable User). I am building the modal and wanted it to receive the text present in an ajax variable. Check code: $.ajax({ url:…
-
2
votes1
answer201
viewsAjax and link how to make a:visited work when using ajax
I did a site recently this week, vhtvshows.com.br. When you click on a series to watch and choose the episode ajax takes the link and puts it in my div, but when I go back the link is not in the…
-
2
votes3
answers226
viewsLink structure problems in MVC
I am working on an MVC project and I am having problems redirecting pages. The project is based on controllers and actions, that I have the proper functions that call these files and call their…
-
2
votes1
answer3036
viewsHow to send more than one value in a select element of the html form?
I’m creating a form and for some fields I need to submit more than one value and I don’t know if the form I’m doing is the best or not. <select name="itens[]"> <option…
-
2
votes3
answers365
viewsHow to use multiple $_GET in PHP through a URL
Through a URL, I want to display a set of information in the HTML of the page, however, there are values I want to repeat in certain URL’s and others not. Example:…
-
2
votes1
answer215
viewsUse jquery without refresh on the page
I have this jQuery and when I click on the button it updates with the result and gives a refresh on the pag,in vdd changes the test/index.html link to test/index.html? ,I wonder if you have how to…
-
2
votes3
answers21897
viewsAdd to html code via jQuery
I’m trying to add an HTML code to my HTML via jQuery,Entering any text works,already with a bootstrap tag does not For example: $(function($){ $('#enviar').click(function (e) { var linhas =…
-
2
votes1
answer12945
viewsFixed Bar at the top
Hello I would like to put at the top of my page a bar of the color black, but I’m not able to do. Someone knows how to do it??
-
2
votes1
answer647
viewsDropdown menu moving Ivs below
My dropdown menu is moving all the Divs below it. Here is the html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">…
-
2
votes2
answers229
viewsView how many people accessed pdf
I have a pdf on my server and I put it available through a link, there is way to control how many people access the pdf?
-
2
votes1
answer5853
viewsHow do I open this function url in a new tab
The code below converts url hyperlink text: $bodyText = "The text you want to filter goes here."; function formatUrlsInText($text) { $reg_exUrl =…
-
2
votes3
answers312
viewsPlaceholder does not work in Textarea
I have a form with a textarea, put a placeholder us input and is working perfectly, except in the textearea. <form name="trabalheConoscoFormulario" id="trabalheConoscoFormulario" action=""…
-
2
votes2
answers192
viewsOpen file . txt as tooltip
I’m wanting to add to my code a "HELP", type if he click the word he open a pop-up showing the details of the fields. But I would like to do this with a file .txt ... Where open a pop-up containing…
-
2
votes1
answer413
viewsInsert link in Fancybox popup image
How to insert a link in the image that opens (popup) in the fancybox after clicking? Excerpt from the HTML code: <li> <a class="fancybox" rel="group" href="imagem_grande.jpg"…
-
2
votes1
answer466
viewsCSS Toggle Switch with <select>
I need to transition from this script to use with <select>. See well the script working is like this http://callmenick.com/tutorial-demos/css-toggle-switch/ My selects (over 88) are ONLY in…
-
2
votes1
answer1407
viewsOpen links from iframe
How to prevent Iframe links that have the property target="_blank" and open these links in another iframe only on the same page? Example: Content of Iframe1: <a href="http://t.co/YJdEOEu8Dz"…
-
2
votes1
answer4330
viewsBreak table cells/td in html
I have a dynamically generated page with php/sql, in it exists a tabela with dynamic data, the tabela is inside a div that limits and organizes the ends and size of the page. But it is not being…
-
2
votes1
answer62
viewsApply limit function to all textareas
I am manually imposing character limit on my textareas with this code: <textarea onKeyDown="limitText(this.form.message,this.form.countdown,240);"…
-
2
votes2
answers207
views -
2
votes0
answers93
viewsHow to split content into pages in Ckeditor?
I want my text editor (Ckeditor) is displayed as if it were an A4 sheet, which has margins for the text and, when it is increasing, other sheets of the same size are added. It would be like a Word…
-
2
votes1
answer102
viewsCharacter count within separate paragraphs (jQuery)
How to use jQuery to sum characters in different paragraphs? Example: <div id="test"> <p>Lorem Ipsum</p> <p>Lorem Ipsum</p> </div> Note. Cannot add id and class…
-
2
votes1
answer8726
viewsHow to get the value of a list of ckeckboxes with jquery?
I’ve tried the following: <input name="chklista" id="chk01" value="01" type="checkbox" />01<br /> <input name="chklista" id="chk02" value="02" type="checkbox" />02<br />…
-
2
votes1
answer166
viewspicture size depending on screen size
I have a question on an HTML page I created. The whole page depending on the large or small screen automatically adjusts the size. Now the only thing I can’t do the same is Image. I wonder if you…
-
2
votes2
answers40368
viewsAlignment of text inputs in HTML/CSS
How do I align these two input? I’ve been trying for over two days and I can’t get them to line up properly.…
-
2
votes1
answer205
viewsChange SVG object color with animation
Using the animateColor tag, I wanted to change the color of an SVG object. Example jsfiddle but it doesn’t work: <svg width="500" height="650" > <rect ry=5 rx=0 x=150 y=100 width=90…
-
2
votes1
answer505
viewsStoring data for a while
Is there any way using the javascript cookies that I can store information for 3 hours for example ? In my scenario I need to have a warning page, but I don’t need to store these records in a…
-
2
votes2
answers240
viewsCheckbox automatically checked in array
I’m cracking my head to set a checkbox as marked. I know the markup syntax (<input checked>) but this particular checkbox is being mounted from an array and I couldn’t, and I don’t even know…
-
2
votes1
answer196
viewsError loading multiple swf into html
I created a report on ASP.NET and HTML uploading files .swf (flash) within a for. The problem is when the for is big and it needs to load multiple files. swf in the same report the flash simply…
-
2
votes2
answers697
viewsAttribute "Multiple" of <select> tag does not work
Attribute multiple tag <select> does not work, it is only possible to select a single option. I am using Chrome. <h4>From</h4> <div> <select name="sites-list" size="7"…
-
2
votes2
answers3435
viewsHow to hide iframe when entering the site
Guys I’m with a code <div class="box"> <button id="showr">Mostrar</button> <button id="hidr">Esconder</button> <div> <iframe width="420" height="345"…
-
2
votes2
answers619
viewsHow to add a (full) div to Asp:Panel using jquery?
Hello. I have the following scenario. I want to use Ajaxcontroltoolkit’s Collapsiblepanelextender to make a collapsed panel. However, the content that this panel will display will be dynamic and…
javascript jquery html asp.net ajaxtoolkitasked 10 years, 2 months ago Leonardo Ribeiro de Aguiar 105 -
2
votes1
answer109
viewsDo HTML "script" tags get "thread" unique to each one in the browser?
Separate Javascript processes in tags <SCRIPT> are worthwhile for the individual processing of each programming, or the browser joins everything in a single process? Someone who really…
-
2
votes1
answer68
viewsOption value change of the select element
I’m trying to add an option to a select: function add(){ var opt = document.createElement("option"); opt.value = "0101"; opt.text = "foo"; } That code works. My question is why when I remove double…
-
2
votes2
answers4080
viewsFill Second Input automatically when First
I have a input I’m going to name input-1, and there I will insert this: 12:00 Having a second input I’m going to name input-2, is possible when inserting into input-1: 12:00 He in the input-2 can…
-
2
votes2
answers5843
viewsPHP - Getting all images from a directory and generating in HTML
I have a project and there are several folders containing image files belonging to gallery: I need to optimize this by getting all the images from a given directory and generating them in HTML.…
-
2
votes1
answer96
viewsProblem while removing readonly in Internet Explorer
I have a function that removes the readonly of a field after focusing the same: $input.removeAttr('readonly'); The problem is that only in Internet Explorer even after removing readonly it does not…
-
2
votes2
answers1143
viewsPass variable with various input/select
I have a form with several input that I create with a for cycle, I pass by POST to another page and change its name as in the example: <form action="page2.php" method="post"> <?php…
-
2
votes1
answer914
viewsHow to increase div by clicking link?
I have the following situation: It is possible to click where it says Section #3 to div 100% increase and the bottom also be 100%? And when I clicked again on the other links everything was normal…
-
2
votes1
answer1444
viewsOverwrite one HTML page with another
I would like to know if it is possible (and how to do if possible) to overlap one HTML page with another and leave the dark background with a low opacity, as for example here:…
htmlasked 9 years, 10 months ago Lucas Caresia 2,663 -
2
votes1
answer56
viewsHow to make a frequent update
Hello, for example, I have the text box SENHA and CONFIRMARSENHA, and test if they are different, but I will only know when he presses a button, and I want the moment they are different (without…
-
2
votes1
answer624
viewsHow to only validate fields that are visible?
I have a form with several fields(inputs, selects), but some are like display: block and others as display:none; as I put the validation at all when I submit the form wanted it to check only those…