Questions tagged as 'html'

1
answer

Field entered that goes down and a new field empty

Hello, I have the following code when pressing the "Add +" button, a new row is added to the table to continue entering data. My question is the following one there is some form where when pressing the button "To add +" the field that I add it l...
asked by 06.09.2017 / 17:51
1
answer

Auto height iframe javascript

I have a problem, I am creating by JavaScript a iframe var iframe = document.createElement("iframe"); iframe.src = 'web.html'; iframe.scrolling = 'no'; iframe.style.width = options.width; iframe.style.border = 'none';...
asked by 31.07.2017 / 08:23
4
answers

Change css using js vanilla

I am trying to change the dimensions of a div by modifying the css of it by the DOM model of JavaScript . var mi_div = document.getElementById("prueba"); var get_width, get_height; get_width = mi_div.offsetWidth; g...
asked by 30.06.2017 / 21:41
3
answers

Return values to Select with javascript, remove put options

Greetings I have this code, which removes the options to all the other select when one selects it first. But now I need to return the value to select another one. Among them, for example, if I select the 1 in any, option 1 will disappear in t...
asked by 21.06.2017 / 18:33
1
answer

Requiring a file makes ajax not work

At the moment I am doing a dynamic table with ajax and everything works fine .. until I enter a label <?php require("nav.php"); ?> in a div, this file is a generic menu; Suddenly the error appears in the firefox console: TypeErro...
asked by 27.06.2017 / 17:18
1
answer

Forum limit of votes by post PHP

Hi, I'm trying to make a forum in which registered users can write comments and assess, the problem is that a registered user can rate as many times as they want and I would like the user to rate 1 time per comment. The page is link The...
asked by 12.06.2017 / 17:18
1
answer

Perform a query using a select in HTML

Very good, I'm trying to make a query using the selected option in HTML select, which I named "filter", I create the dynamic options and with a switch I get the selected. The case is that from there I'm stuck do not know where to put the code th...
asked by 27.03.2018 / 17:48
1
answer

Assign a counter as Id to an HTML tag

My question is the following, in my project of ASP.NET , I have in a view, the foreach of razor with which I print my values of the model, and a div is created for each iteration, what I need is that this div have an id au...
asked by 20.06.2017 / 20:41
1
answer

Error in the web with: "bad URI or cross-site access not allowed source:"

I have this error:    downloadable font: download failed (font-family: "font-test"   style: normal weight: normal stretch: normal src index: 1): bad URI or   cross-site access not allowed source:    link The folder structure is this: /...
asked by 06.06.2017 / 09:58
1
answer

Edit column table jQuery

<table id="tabla1"> <thead> <tr> <th>Fruta</th> <th>Cantidad</th> <th>Color</th><!-- necesito editar esta columna--> </tr> </thead> <tbod...
asked by 05.06.2017 / 22:30