Questions tagged as 'html'

5
answers

How to convert an HTML element to a string in javascript?

I access an element of my page and I save it in a variable: var nodo = document.getElementsByClassName('prueba'); if I do a var nodo = String(nodo); It does not work for me, I know it's an array of objects but if I pass it to a string...
asked by 24.02.2017 / 13:10
1
answer

Basic doubt with margin. Father and son css

I know how to solve it, but my doubt is in why this happens. I have a Father section and inside a Son div. The thing is that by placing margin: 20px on the child, a margin is applied to everything, not just the child that is where I wanted to ap...
asked by 12.04.2018 / 06:50
2
answers

Difference between input list and select

Good, what's the difference between using a input list or select ? Here's an example below. <input list="browsers"> <datalist id="browsers"> <option value="Internet Explorer"> <optio...
asked by 18.01.2018 / 22:14
2
answers

Height 100% does not work

I'm trying to create a menu made with images with the hover effect, but I do not understand why you do not see the div complete. The menu consists of 6 images (which in reality are twelve, two per menu option, for the hover) and must b...
asked by 28.12.2015 / 05:45
1
answer

Why does not he bring me the graphic?

Good afternoon I'm doing a graph with js and I already have the graph at the time of showing it is not displayed This is script $(function () { var tope = 100; var acum = 73; $('#container').highcharts({ chart: { type: 'gauge',...
asked by 30.09.2016 / 00:08
2
answers

Is it correct to use the same id and name in the input of an html form?

I would like to know if it is a good practice to place the same in id and in name when I am going to program, for example, in HTML and PHP. Could it affect the code when it is already advanced? What consequences could it have to do?     
asked by 19.04.2017 / 02:28
1
answer

Enable or Disable an Input depending on the selected radio button

I have the following HTML code which consists of two Radio Buttons. I need that if the user chooses one, depending on which is the same, the "Discount Percentage" field is active or not. <div class="form-group"> <label for="isProd...
asked by 04.05.2018 / 20:29
3
answers

Get AJAX message

Good afternoon, I'm doing a User validation, but I can not receive the message I get. I have the following: $(document).ready(function () { $("#UEmail").change(function () { $.ajax({ type: "POST", url: "Validar...
asked by 16.01.2018 / 21:49
2
answers

Slider JQuery UI - Smooth movement

I have included the following slider , but I can not find the options so that it does not move with the steps , that is, from one point to another abruptly since there are not many values, but I can move it from soft way. JSFiddle...
asked by 13.01.2017 / 12:35
2
answers

Create a view from scratch

I'm working with ASP.NET MVC, I'm creating my views from scratch to pure html, creating an empty view creates me this. @{ ViewBag.Title = "Proveedor"; } <h2>Proveedor</h2> But when creating html code I do this @{ ViewB...
asked by 13.02.2017 / 17:29