Questions tagged as 'html'

4
answers

Show result of a PHP file in HTML

I'm working with an API and I have the following code in php <?php $link = file_get_contents('http://api.steampowered.com/IEconItems_440/GetPlayerItems/v0001/?key=APIKEY&SteamID=STEAMID64&format=json'); $myarray = json_decode($link...
asked by 05.06.2016 / 21:28
1
answer

filter with pattern range of ports

I would like to know how you can filter with pattern a range of ports such that only accept or numbers or numbers with two points in between and as long as it does not exceed 65535. Example: 20 or 20:25 The only thing that has occurred...
asked by 13.06.2016 / 07:50
1
answer

Using Ajax.BeginForm MVC 4 aspx c #

I'm a novice with MVC 4 My question is; How can I send all the information that the user captured in HTML to a function of my controller ?. That this function inserts my data sql server with Ajax.BeginForm there are n...
asked by 01.07.2016 / 16:25
2
answers

Divide the width of the screen into two containers

I have two divs, one is a sidebar and the other a container. I want to divide the entire width in these two (.sidebar 20%, .container 80%), but I do not know what is failing because they do not occupy the width at 100%. I'm using the Simple...
asked by 04.01.2019 / 16:24
1
answer

Sort by colum

I try to sort by ACEPTACION , how do I do it? I want to use jQuery DataTables to use order: [ [3, 'asc'] let validacion = [1, 3, 5, 4, 2]; let personas = ["ana", "juan", "pedro", "maria", "gustavo"]; var html = "<...
asked by 19.12.2018 / 14:35
2
answers

Event similar to "onchange"

I have a problem with a smart search list that I need to send the form once the value is selected. However, it does not work until I click outside the field. The code is as follows: <input id="ComunaBuscador" name="city" class="form-cont...
asked by 09.10.2018 / 12:12
4
answers

Write JavaScript variable in the HTML body

Is it possible to write a variable stored in a function of a .js file in the body of the index.html? For example I want to put below the form of the calculator "The result of the subtraction is (and here call the variable" result "stored in t...
asked by 12.10.2018 / 14:04
3
answers

Change border-radious from Javascript

Good, as you can see if you execute the program, it is a text in which we can basically modify the color, text, etc. However, adding border radious and putting space between words does not work. It may be that the CSS reference in JS is wrong, s...
asked by 08.08.2017 / 18:29
2
answers

You can change the style of an Alert window [duplicated]

can you change the style of an alert () that is, some function to do it or it always has to be the same way?     
asked by 22.08.2017 / 15:44
1
answer

Use data from the Vue instance in the Vue Router template

How to use data from the Vue instance in the templates of Vue Router routes. This is my code HTML <div id="app"> <router-link to="/foo/1">ruta 1</router-link> <router-link to="/foo/2">ruta 2</r...
asked by 19.08.2018 / 04:02