Questions tagged as 'html'

1
answer

.not () function does not work correctly

I have the following code HTML : <div id="mini-cart" class="mini-cart dropdown is-not-empty"> <span class="ic-cart"></span> <span class="count-cart" style="display:none;"><br><br></span>...
asked by 09.04.2018 / 20:41
1
answer

Error changing content generated within a span tag, automatically generated in Woocommerce

Trying to change the word "New!" automatically generated in woocommerce as below: <span class="label-new">New!</span> And using the jQuery snippet below <script> $(document).ready(function(){ $(".labe...
asked by 11.04.2018 / 23:09
1
answer

checkbox filled with database data in php

I have this code that creates the calendar and checkboxes: <?php # PHP Calendar (version 2.3), written by Keith Devens function generate_calendar($year, $month, $days = array(), $day_name_length = 3, $month_href = NULL, $first_day = 0,...
asked by 26.03.2018 / 11:47
1
answer

How to change the size of a: before or: after dynamically with JQuery?

Does anyone know if I can change the size of a: before or: after dynamically with jquery? Ex: $('#elemento:before').css({'width':'100px'});     
asked by 26.03.2018 / 15:19
1
answer

Print bank contents with line break [duplicate]

I have a content in the bank, which has break and line: linha 1 linha 2 linha 3 When printing on <textarea> , the breaks work perfectly. But if you print on a <td> , it does not make the breaks. Is there any...
asked by 26.03.2018 / 14:52
1
answer

setar scrol location

I have a div with overflow: auto; I want to leave the scrol of this div at the lowest point, to show only the newest information: div{ width: 150px; height:80px; border: 1px solid; padding:5px; overflow: auto; } <div> i...
asked by 13.02.2018 / 22:32
1
answer

Show a div when closing the [duplicate]

Well, I'm going to use this site as an example: link Every time you move the mouse towards the close the tab button (or just click on it - whoever you like, you can test by opening any site link in a new tab and access it by the keyboard sho...
asked by 11.02.2018 / 01:30
1
answer

How to get the data-value data-list

I have data-list for teacher names, whose values are their names. By default, no input % captures the data contained in value . This causes a problem, since my database expects a numeric value. When I change the values of...
asked by 01.04.2018 / 11:04
1
answer

Overlapping labels

Greetings. With the following code ... link Labels are overlaid when the screen is dimmed. I wish it would be one underneath the other. Can anyone help me? Thank you very much.     
asked by 30.03.2018 / 22:40
1
answer

Filter in Dynamic Select / Option

var escolas = ["UFSCAR", "USP"]; //var alunos = []; $(document).ready(function() { escolas.forEach(function(item) { $('select.lista-escola').append('<option>' + item + '</option>'); }); }); <script src="https:/...
asked by 01.04.2018 / 15:28