Questions tagged as 'html'

2
answers

How to select and pick values from all checkboxes with the checked property?

I noticed that "selecting all checkboxes with the .checked property checked is a very recurring question in web development, so I'll post a solution here using Jquery . sub> How to select and pick values from all checkboxes with th...
asked by 14.06.2016 / 22:12
3
answers

How to avoid repeating the html code? [duplicate]

Good evening, folks. This is the following, I'm using the bootstrap and I would like to know how I avoid repeating the same codes in all pages, since the header and footer are the same, this would make the code more readable, I searched and sa...
asked by 19.12.2016 / 01:35
2
answers

HTML href attribute exclusively for a / a beacon?

It is correct to set the href attribute to another beacon that is not a . Example: <ul> <li href="#page1">Page1</li> <li href="#page2">Page2</li> <li href="#page3">Page3</li&g...
asked by 08.01.2017 / 15:03
3
answers

Onclick on an option select

I'm using a select . I want the last option to call another page. <select> <option>Teste1</option> <option>Teste2</option> <option onclick="page.htm">Pagina</option> </select>...
asked by 12.02.2015 / 12:28
2
answers

Next tab when clicking the button

I have a registration form divided into tabs, where the tabs are disabled until the user clicks the button to enable and go to next. The problem is that the way the user is has to enable the button and then click on the next tab. I need when the...
asked by 24.02.2015 / 13:18
2
answers

How to pass value from javascript to AJAX

I have a javascript function that has AJAX code inside it. I want to pass the values from javascript to AJAX, follow the code: function validarCamposComprar() { var campoNomeEmpresa = document.getElementById('fTxtCadastroNomeEmpresa')...
asked by 02.07.2015 / 20:48
2
answers

How to "break" div into two columns?

I'm using WordPress, my Blog section is organized as follows: Iamsimplyusing{display:flex;justify-content:space-between;}whichinthecasetheresultisliketheoneinthefirstexample.TheresultIwanttoachieveis: Ihavenotcreatedtwodivsforcontentbecauset...
asked by 26.04.2018 / 15:55
2
answers

WebSQL will even be discontinued?

I'm having a lot of problems trying to run a program developed in HTML 5, Javascript, Ajax, JSON, IndexedDB, MySQL, PHP together with the Intel XDK IDE. The program is very simple it captures MySQL information and persists in IndexedDB, this o...
asked by 19.01.2016 / 10:51
3
answers

How to modify form fields if user input is invalid when compared to regular expression with JQuery

Well, I have the following form: <!DOCTYPE html> <html> <body> <form action="enviar.php" method="post" accept-charset="utf-8"> <label>Nome<br> <input type="text" pattern="^[a-zA-Zà-úÀ-Ú ]{2,30}$" aut...
asked by 27.08.2014 / 21:09
3
answers

Sort images by the height of each

I have a list of images with different dimensions. I wanted the images to be sorted from the smallest to the largest: the one that has height smaller was in the first and the height greater was last. Using only jQuery with HTML....
asked by 02.09.2014 / 19:48