Questions tagged as 'html'

1
answer

Using React in backend and small projects

Is it possible to integrate the React application with some back end language? Can I apply React on small projects or only when there is a need? React came to break the standard web development paradigm, where I create separate files, each...
asked by 13.08.2018 / 22:35
1
answer

How do I let div superimposed on another div?

How do I leave div #inner-block in the foreground? #block-1 { position: absolute; width: 200px; height: 200px; top: 10px; left: 10px; background-color: #999; z-index: 1; } #inner-block { position: relativ...
asked by 07.11.2018 / 07:37
2
answers

How do I create an attribute for an HTML tag? Something similar to the existing "required"

I have a page with several <input> and some of them are required, these <input> are not in a <form> tag, so I think required can not work in this situation. I have done the verification in the same hand:...
asked by 12.08.2018 / 22:41
1
answer

Copy file text to textarea

How to copy the contents of a text file to a textarea . <html> <head> <script> function validar() { arquivos = document.getElementById('arquivo').value; res = arquivos.split("\n");...
asked by 15.08.2018 / 22:00
2
answers

Why can not I send the "+" character via post in a simple HTML form?

I made a simple page in html that when I received the login and a password it sends to another page where the data is verified, the problem is that when I put the "+" character in the password it simply does not arrive in the post, what arrive...
asked by 06.06.2018 / 16:24
2
answers

Json does not return data from the Mysql database

I have a table in the Mysql database that contains 3 fields (id, name and model) different from the other fields, the data email template with tags HTML (structure in longtext ). When I run the PHP code to return the data to me, it d...
asked by 01.07.2018 / 20:13
2
answers

Show content according to Select

How do I, when the user selects the unit, show the content div according to the selected unit? Would it be with jQuery? <div class="form-group"> <label>Selecione a unidade</label><br> <select class="form-co...
asked by 11.06.2018 / 20:30
1
answer

Add javascript variable in CSS class

I need to insert into this following CSS class: .bola { width: 50px; height: 50px; border-radius: 25px; position: absolute; } the variable var corBola = "#"+((1<<24)*Math.random()|0).toString...
asked by 23.08.2018 / 19:36
1
answer

Save more than one data in this form with PHP and MySQLi

Hello, I have a problem with this code. I am making a form that I need to save, but unfortunately in the database it only saves once the rest always gives error ... I would like to solve this problem, since I thank you for having read it. Below...
asked by 13.06.2018 / 06:21
1
answer

Prevent duplicate registration with C #

I'm having difficulties with registration in duplicity. How do I make the data after the user fill out the form at the time of saving the data compared to the one in the database, if it has any repeated field it does not save the form data?...
asked by 30.07.2018 / 21:46