Questions tagged as 'html'

3
answers

Change modal content

I have this html: WhenIclickonsaibamais,amodalopenswiththeinformationaccordingtotheplan.Thehtmlandmodalcontentisbasicallythis:<divid="abrirModal" class="modalDialog"> <a class="close" title="Fechar" href="#fecharModal">X</a...
asked by 28.05.2015 / 18:44
1
answer

Show selected option in select with JS

I have a code snippet where I want to get the value of option selected with JavaScript, and give alert with that value. However, every time it gives the value as undefined . I made a line to put in a input too, just to...
asked by 23.05.2017 / 15:13
1
answer

What is the head tag for in the html?

I'm reading a book that at one point says the following:   "Now we need a place to put our templates - one way is to use an existing element in our HTML, preferably hidden. You can achieve this by using the <script> element wit...
asked by 21.04.2017 / 05:46
3
answers

avoid submitting a form with barcode reader

Well I have the following form: <form name="produto" method="post" action="cadastra.php"> <input name="cod" type='text'> <button type='submit'>FINALIZAR</button> </form> Good Whenever I use the barcode re...
asked by 17.05.2017 / 18:13
1
answer

HTML & PHP - unread HTML code

I have following code on the part of PHP does not present any error, the page appears blank and does not show the HTML code. <?php include("config.php"); if($_GET['key'] && $_GET['reset']) { $email=password_hash($_GET['key'],PASSW...
asked by 15.05.2017 / 00:10
3
answers

How to use multiples $ _GET in PHP through a URL

Through a URL, I want to display a set of information in the page's HTML, however, there are values I want to repeat in certain URL's and not in others. Example: link <?php echo "<div class='campo1'>" . $_GET['c'] . "</div&...
asked by 21.11.2014 / 14:56
1
answer

Create a login form and password in the upper right corner of the screen

I would like to enter a% login and password% in the upper right corner of the screen with the option to register. <input type="text" name="nome"> <input type="password" name="senha"> <input type="button" value="Entrar" />   ...
asked by 14.05.2016 / 19:26
1
answer

How to do a Jquery that when selecting a radio button, I change the items of a select?

I'm creating an html site and I'm still a bit new to it. I'm doing a store registration screen. My problem is: when selecting a radio button, I want it to change the select (combobox) data. Example: Radio Button Institution, I want it to show in...
asked by 04.05.2016 / 23:00
4
answers

How do I leave the page open in the menu?

For example, on this site when you are on any page it is marked in the menu with a border-top: link I would like to know how I do this, I already tried the visited in css and nothing ...     
asked by 20.05.2016 / 03:45
1
answer

Align navigation menu in the center

I'm trying to align the "drop" menu in the center. Help? HTML: <main id="conteudo"> <section id="produto" class="box"> <nav id="drop"> <ul> <li><a href="">Linha Au...
asked by 18.11.2015 / 21:03