Questions tagged as 'html5'

1
answer

Responsive Modal

How can I leave the modal below responsive according to the monitor resolution (15 "~ 21"), if I add width & height for 21 "monitors it looks good, but if I play on a notebook (15"), it overlaps the entire screen. I could not find a way...
asked by 23.03.2018 / 22:31
2
answers

Repetitive excerpts of HTML

How to assign blocks (or redundant sections) of HTML to a variable to save lines and simplify use? Imagine several DIV or TABLE CELLS that are practically identical at 90%. How to save a snippet of HTML and retrieve it just by mentioning its var...
asked by 27.03.2018 / 05:08
1
answer

hover does not work CSS

I want to create a menu with Dropdown in which when I move the mouse in my menu it will appear a sub menu with the links one below the other I took as example in the link but by hovering over the Enter / Sign up it does not show the sub menu....
asked by 27.09.2017 / 05:58
2
answers

Failure / Doubt change jquery event

Hello, I'm having a little problem with a checkbox. When the checkbox is true, two fields should be visible (by default these fields are invisible), otherwise the fields will be invisible. The checkbox works normally, but if I close the modal...
asked by 05.07.2017 / 02:42
2
answers

problem with form with tabs

I took a code on the internet that configures tabs, everything works fine, except that when I change the tab and return to previous, the data entered in the form has been erased and the masks of the fields are also lost. This is the config code:...
asked by 04.04.2018 / 15:13
2
answers

How to disable old dates in the Bootstrap Datepiker version?

You can not choose the old date. For example: Today is 1/18/2017, you have to disable 17/01/2017, 01/16/2017 and so it will ... You can not disable today's date and future. Here is the complete code in the jquery version: link How to do...
asked by 18.01.2017 / 19:15
3
answers

Enable tag contenteditable="false" to "true" with javascript

How do I make a script so that when I click the edit button, my div will automatically be editable and the save button will appear that will disappear when it is clicked and my div will be non-editable again? <div class="texto" contented...
asked by 31.05.2017 / 19:42
1
answer

What is the difference between cshtml and html?

Is there any difference between CSHTML and HTML , mainly in security, performance, and application? Is there a loss when using HTML in an ASP MVC project, and what are the benefits of using CSHTML in a project? >     
asked by 10.11.2017 / 23:25
2
answers

Validate Name Form

I have a question with validation of html5, I have little knowledge with regex I need to validate a form that only gets: Upper and lower case letters, with accents and etc; White spaces; Can not accept only whitespace; Follow the code...
asked by 17.04.2017 / 23:19
3
answers

Limit of characters in a DIV

How can I limit the amount of characters that will be inserted into a div?     
asked by 21.10.2016 / 18:30