Questions tagged as 'html5'

1
answer

background in event focus in tag a html

I'm doing a kind of icon panel where the user can select an icon, what I want to do is that when the user selects the icon it lights up (this is done only when I mouse over the icon but it does not remain illuminated when I select it and it is w...
asked by 20.11.2017 / 23:08
1
answer

How to do echo of a superglobal variable in HTML

I have a superglobal variable $ _SESSION with a value inside and I want to do an echo in an HTML page but nothing appears. My code is as follows: <header class='main' id='h1'> <span class="right"><a href="layout.html">LogOu...
asked by 12.11.2017 / 15:13
1
answer

My second answer does not display the arrow up

I have the view show where I show my answers to the questions and can vote for them, for my first answer I display the arrow correctly, but for the second answer or others just display the counter. show.html.erb: <div class="conta...
asked by 30.10.2017 / 03:10
2
answers

How to apply functions in an array with javascript?

Suppose we have the following function in javascript: var modal=$("div[class*=div_modal]"); //Accedo al primer elemento del array var modal2 = modal[0]; //quiero obtener el primer div modal2.children('div').eq(0); console.log(modal2); But I...
asked by 29.10.2017 / 14:48
3
answers

Why is my eventListener (Click) executed when reloading the page and not when clicking?

This should be something simple but I am learning from this ... The issue is that it executes the whole function when reloading the page and not when clicking on the button document.getElementById("btn1").addEventListener("click", alert(...
asked by 28.10.2017 / 23:50
2
answers

Do not load the values in input

Good afternoon everyone, I'm pulling some data from the BD and I send them to javascript because the data pulls them as they see in the image, I do not know why the values are not assigned in the input. I appreciate your help. $(function...
asked by 24.01.2018 / 18:25
2
answers

How can I make chains, with Java or JavaScript? Help!

Hello Good morning to all, what happens is that I want to capitalize some chains with JavaScript, java or CSS, the latter with CSS and try with the property text-transform: capitalize; and it did not work, they only change with the other propert...
asked by 03.10.2017 / 15:04
1
answer

How to make input fit within a panel that is in col-md-6?

Let me explain, I have a modal window that has 3 panels, the first one is in a row and has col-md-12, all right there. the second and third panels are in a row with col-md-6 respectively. All right up there, my problem is when I change the...
asked by 07.09.2017 / 23:04
1
answer

Divide 2 values taken from the Json with AngularJS

I have another problem that I do not know how to do it. I have a Json with several data and I have to make an average between 2 json data angular.module('playersApp', []).controller("AllPlayerssCtrl", function ($scope) { $scope.players = [...
asked by 21.08.2017 / 23:13
1
answer

Manipulate the default zoom that the browser has when displaying my page

As I can manipulate the browser zoom using the HTML5 standard, it is a project of computer fundamentals and I do not have much experience.     
asked by 08.08.2017 / 02:13