Questions tagged as 'html'

1
answer

Django - How to distinguish which button was clicked?

In the search template of my application I have 3 <button> tags, one to search, the other to edit and one to delete: <button class="btn btn-lg btn-primary" type="submit" id="buscar" name="buscar">Buscar</button> <button c...
asked by 27.05.2014 / 20:01
1
answer

Retrieve position or name of a button with javascript

How do I retrieve the position of a button on the HTML page using Javascript ? The main idea is to add an eventListener to all the buttons that were created in HTML , and when I click the button chosen, it performs the function in it. S...
asked by 12.05.2015 / 21:13
2
answers

How to tell if a person has visited a page in the last 2 days

I have an idea, to show an ad only to those who have visited the site before, and another ad for people who have never visited before .. (LAST 2 DAYS) SOMETHING LIKE IT: <?php if ($visitou = sim): ?> APARECE ANUNCIO PRA QUEM JA...
asked by 13.10.2018 / 23:16
1
answer

innerHTML in a TR of a JavaScript table

Hello, I would like to generate a dynamic table in java script (only the tr and the td) so I am using innerHTML. I make the following code: objDiv1 = document.getElementById("tabela"); bloco += "<tr><td>"+ Campo+"</td>&l...
asked by 09.10.2018 / 01:15
1
answer

I would just use the bootstrap grid to leave responsive [closed]

How can I use only the bootstrap grid just to make it responsive, because I just can not customize my inputs in css because of the bootstrap itself     
asked by 14.10.2018 / 01:33
1
answer

Link opening in new window

I have an image, which is a link to the index page (home). It turns out that when I click on the link, the browser opens another window, but should open it . How do I resolve this? Below my code: <a href="/Home/Index/" title="Twitter"...
asked by 18.03.2014 / 17:41
1
answer

Catch the attribute value of an image 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"); console.log(nomeAlbum); } });...
asked by 02.03.2014 / 21:11
1
answer

fieldset with flex-wrap does not work correctly in Chrome

I'm using the CSS property flex-wrap in some <div> so I can show them or hide them without breaking the flow of the layout. But I noticed that when my container is a <fieldset> , wrap does not happen in Google Chrome...
asked by 18.09.2018 / 20:24
1
answer

How to make "Semantic Quotes" with the q tag, but it being with a different font-family

The question is very simple and objective, I want to have a font style for the paragraph and another style that font for the quotes, however when I put the content between the tag <q> what's inside takes the font-family of...
asked by 06.09.2018 / 21:23
1
answer

Pin icon on lower right corner using Materialize

First time I'm using materialize . I would like to know how to set an icon in the lower right corner. <a class="btn-floating btn-large cyan pulse right"><i class="material-icons">edit</i></a> Natively if there is...
asked by 15.09.2018 / 01:35