Questions tagged as 'html'

3
answers

Validate a text field within two div

How could you validate a form? I already tried this and nothing. HTML <form class="login-form"> <h1>Login</h1> <br> <div class="form-group"> <input type="text" class="form-control" p...
asked by 15.08.2016 / 04:16
1
answer

How would you animate the hamburger menu that comes by default in boostrap?

How could I do to show an animation of the hamburger menu in boostrap that shows me an x when displaying the menu and not the typical hamburger menu: When the menu is opened, the icon is changed to an X and when I click on the x the menu is c...
asked by 05.08.2016 / 19:27
3
answers

Separate a date (dd / mm / yyyy) in different options

How do I separate the current date in three options. For example: and then go back together? I have this working but I have been asked to change it and I can not find anything about doing what I ask. <tr> <th >Fec...
asked by 16.08.2016 / 15:37
4
answers

Use ($ _POST) in certain MODAL with Bootstrap

Hello everyone, I have 2 manners in my index. I have the registration modal (registration form) and the login modal (login form). How do I get my php to know which modal comes my ($ _POST)? Since at the beginning of my index I have this. <?...
asked by 12.10.2016 / 18:01
2
answers

Assign styles according to content

I only want to apply pure CSS a color background to a specific tag <tr> in the following table, it differs according to the content, in this case, the content should be applied only to <tr> that are uppercase : <ta...
asked by 19.10.2016 / 19:36
2
answers

Dropdown with select2 and jQuery ajax

I am having problems trying to fill a dropdown (select) with select2 from a remote resource: I fixed my backend code so that the API returns the following JSON code: [ {"id":9,"nombre":"Jose"}, {"id":10,"nombre":"Juan"}, {"id":11...
asked by 18.10.2016 / 20:35
2
answers

Because on my website some fa fa-icons stopped being seen

Good morning everyone, today I have a very intriguing question. I comment I have a website in production, that until not long ago it worked great and now they stopped seeing 2 fafa icons the rest if they are seen but those two no longer. And sin...
asked by 17.12.2016 / 16:49
2
answers

SVG file that inherits the current color

Using SVG inline I can make the current color inherit using the value currentColor for property fill . In this way I can make my image adapt to the color of the element that contains it. For example: .rojo { color:red;...
asked by 22.11.2016 / 18:45
2
answers

How to show a hidden div with javascript?

I have seen some examples online but they have not worked for me the way I need to, and when I click on the id of a href that is the same of a div show me the table that is hidden. HTML CODE <a href="#" id="displ...
asked by 14.02.2017 / 21:11
3
answers

How to clean a specific field in javascript?

I'm with a form with different fields (name, surname, etc.) How could I do in JavaScript in the field that has the focus when I press a "Clean" button. And apart, I have the RESET button that cleans all the fields. This would be my HTML fo...
asked by 15.02.2017 / 15:15