Questions tagged as 'html'

2
answers

Use of two Onsubmit in JavaScript and Function If within an alert

I'm training JavaScript with HTML and CSS and I'm creating a simple web page where I will calculate BMI. My user, besides informing his weight and height, email, phone .. By JavaScript I must perform the IMC calcul...
asked by 11.06.2018 / 16:21
1
answer

Website icon in the Shortcut when adding site to the mobile screen in the option that chrome has Android

I have a responsive website that is widely used on the mobile by customers, we always indicate that the customer uses Google Chrome, as it offers an option to create a shortcut to the site on the phone, except that it creates the shortcut and th...
asked by 05.06.2018 / 22:49
2
answers

my dropdown leaves the screen, how do I get it down to the opposite side?

The dropdown of the cart, out of the image, can you make it drop down to the left? here is the code: @import '//stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css'; @import '//stackpath.bootstrapcdn.com/font-awesome/4.7.0...
asked by 03.05.2018 / 13:13
3
answers

Take part of the field value

Hello, I need to get some of the input value function exibir(){ var elem = document.getElementById("campo3").value; var sel = document.getElementById("campo4").value; document.getElementById("demo1").value...
asked by 04.05.2018 / 21:49
1
answer

Copy content button, and display a message shortly after you click it to copy

My case, I want to make a button to copy the short link of a site, ie do not need to display the text, just have the icon of fontawesome <i class="fas fa-copy"></i> ie a button with the icon, without showing the text with the...
asked by 30.04.2018 / 05:37
2
answers

fade toggle jquery

I have a div and inside it a header (h3) and a button, I want when I press this button, change the contents of the text and the button, with a new text and a new button with a fadeOut effect for the text / current button and FadeIn pro new text...
asked by 28.12.2017 / 17:58
1
answer

How do I 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 /> <input name="chklista" id="chk03" value="03" t...
asked by 18.12.2014 / 15:11
2
answers

Trigger event to change slider image by clicking the directional arrows on the keyboard

I'm using a jQuery slider, but I would like to improve it in Accessibility . I would like the keyboard arrows ← and right → to navigate my slider similarly to the click navigation arrows. But I would also like that when pressing the dire...
asked by 17.11.2014 / 05:23
1
answer

CSS menu marked after going to the submenu

I need to make the selected menu item remain marked after the user moves to the submenu. For example, in my menu, there are items with up to 3 submenus. When the user hover over the item, it opens the submenu, but leaves no markup in the previou...
asked by 02.12.2014 / 19:41
3
answers

Add in html code via jQuery

I'm trying to add an HTML code to my HTML via jQuery, while any text works, already with a non-bootstrap tag For example: $(function($){ $('#enviar').click(function (e) { var linhas = $('#linhas').val(); var plantas = $('#plantas')...
asked by 23.11.2014 / 00:59