Questions tagged as 'html'

1
answer

Validation via Javascript does not work

Person, beauty? So, I have an alert div (that of the bootstrap) with the display none and visibility hidden I'm catching it by id, both in css and javascript, but it does not work. It changes the properties of the CSS but still sends the data to...
asked by 07.01.2017 / 01:38
4
answers

How to block the click on an input

I'm trying to block the click on a input Html <input id="txtData" class="form-control" /><span class="input-group-addon" data-role="data"><i class="glyphicon glyphicon-th"></i></span> So that no ac...
asked by 10.03.2017 / 18:11
1
answer

Better to center by margin: auto or text-align: center?

Looking for good practices in HTML, what is the best way to centralize? I see that I can centralize the menu of a page by both options, but I am in doubt as to the best form and also of which is the correct form instead of just using one that...
asked by 28.12.2016 / 02:33
1
answer

Remove options from input field of datetime-local type

I have an input field of type datetime-local and I need it to be as clean as possible, with no cleanup or step buttons and just displaying the date and time in that format: '12 / 12/2016 12:01 ', I would like to know how I can configure this fie...
asked by 29.12.2016 / 18:09
1
answer

Redeem values of a modal item to update it in the bank

I have some items returned from the database that is listed in a table. To add an item, I call a modal in which I fill in the fields saving them to the bank. However, if this field is wrong, I need to edit it. The question is, how do I retriev...
asked by 26.01.2017 / 14:04
2
answers

Hiding a button until 2 inputs are filled

I intend to hide each of the 3 buttons until the 2 inputs on top of each button are filled, I had already tried to do it and it works, but if I try to add more than once it is always visible even with nothing in input <div id="addElemen...
asked by 18.12.2016 / 15:13
3
answers

responsive alignment on the footer

I'd like some help to align footer on responsiveness. Put the copyright down below (I already tried padding , but it disappears) and align the tabs in section(border-right) , the rest is working, I'll leave here the codepen ....
asked by 19.12.2016 / 17:13
1
answer

Passing correct parameters on Form submit

Hello, I'm trying to pass some parameters to the controller, but I'm not getting it. The following code has been changed to load the contents of the clicked tab and display it in an input and texarea. And it's working and loading correc...
asked by 16.12.2016 / 13:45
1
answer

How to limit the number of rows in an HTML table

I'm doing a database listing screen and displaying the results in an HTML table, everything is working, but I would like to limit the number of lines displayed in five to be all on the same screen and the scrolling is done in the same table. Her...
asked by 08.12.2016 / 16:35
1
answer

What characters can I use to define the name of a class?

I know it's recommended to use letters and the dash, but what if I want to use a teste1/10 class, what's the recommendation?     
asked by 15.12.2016 / 21:55