Questions tagged as 'html'

2
answers

Is it possible to maintain the text format of a textarea by inserting it into MySQL and recovering it?

I'm making a website that has a news section. The page will have an administrative sector in which people (with almost no knowledge of computers) will write news. The idea is that the news is formatted (by format I mean the line breaks). H...
asked by 04.11.2016 / 01:16
2
answers

Redirecting in Ruby on Rails

I am new to Ruby on Rails and would like to know how I can do to redirect from the% share% action to the% share%. I would like the page "show.html.erb" to be displayed after saving the article created from the page "new.html.erb" .     
asked by 08.11.2016 / 01:52
1
answer

Double quotes or single quotes in HTML?

Personally I like to use double quotes about attributes / HTML values, but I have seen codes where the use of single quotes is what dominates the document and even! some with absence of quotes. <input type="text" name="age" /> <input...
asked by 17.12.2018 / 05:25
4
answers

How to hide items from specific users through php sessions?

good day, I am working with sessions in php and I have two difententes users in my db, what I would like to implement is that the user2 the li elements (page1 and page 2) of my menu will be hidden, while user 1 could see all the lists (page1 pag...
asked by 03.05.2016 / 04:36
1
answer

div to be placed on top of the div that contains it?

I have the following code that dynamically puts some draggable images on top of another image. When you put the mouse on the div sensor, the info appears, but when it is in a corner, the div info is covered by the div that c...
asked by 20.03.2018 / 00:34
1
answer

Put value to an input text when you select a radio input

As the title says, I would like that when selecting a value, in this case "European" or "American", it shows a numeric value in the "long", "high" and "wide" fields. I give you the code: var D = document.getElementById("D"); var P =...
asked by 18.05.2018 / 01:03
2
answers

Get textarea value by javascript

I have a form that with a button "duplicates" so many times the user wants. <div id="productosTotal"> <div id="producto"> <label>Nombre del producto *</label>...
asked by 05.04.2017 / 22:40
1
answer

Change the value of input type text in php

I have a value assigned to a variable in php and I show it in a type text. I wish that by clicking on a checkbox I can edit and change that value. 1.- If I click and change the value, when submitting with submit, it shows me the change made....
asked by 26.10.2016 / 16:28
1
answer

How to capture the sound intensity of an audio or video tag in HTML5

I would like to know if anyone knows how to capture the sound intensity, or some kind of information that could be provided to me if a video has sound or not at a certain moment. The goal is to have a tag of type <video> in a web...
asked by 20.10.2016 / 12:34
2
answers

Send a message to Whatsapp from a web page?

We are in the middle of a website development for a bakery, and within the requirements that the analysts gave us, he asks us for the following: "Confirm orders first by registering the client and then sending an email or a message by whatsApp t...
asked by 15.07.2016 / 06:42