Questions tagged as 'html5'

2
answers

The required attribute (HTML5) in the Select element does not work

I have a form in my laravel project, in which I want to validate certain fields, the fact is that I use the required HTML5 attribute, the thing is that it only works on the elements input in the select , however, one does not work ... it do...
asked by 04.08.2016 / 14:13
3
answers

How can I take the value of a field from a table and add it to an input by clicking on this field

Greetings, I would like you to click on a field of a table as an example <tr><td>Juan</td><tr> a text field will take this same value, you could help me thank you very much     
asked by 24.06.2016 / 20:57
1
answer

Upload images png to the server [closed]

I am developing an application with html5 , css3 , jquery and php , and I have the problem that when I want to upload a png image, it does not upload it to the server. I can upload images jpg, bmp, but when the image is png it seems that it...
asked by 15.08.2017 / 22:19
1
answer

How to get the .html from a link on my website

Good morning. I have a simple query. My question is the following one, this is the link of my web page (example)    link .html So I want to make the link look like this:    link Can you help me?     
asked by 17.08.2017 / 03:21
3
answers

How to hide a div when showing another?

Hi, I'm good, I'm a rookie and I'm very, very sorry for this. I need that when I do onclick to show the "price2" I hide in turn the # price1. I work the actuator to show the "price2" but I can not get this to hide the "price1", I think I'm using...
asked by 07.04.2016 / 03:33
2
answers

Do not load image gif

I have this code <div id="cargando"><img src="/images/822.gif"/> <h5> Ejecutando...</h5> </div> load any image that does not have the gif format, what do I have to do to load gif? The gif download it here...
asked by 19.12.2018 / 13:58
2
answers

Image from CSS

I want to upload an image to a img tag from a css file The following code is from my HTML <img class="logo-header" alt="tienda online"/> and then the CSS img.logo-header{background: url("../img/centro.jpg");} my file fo...
asked by 07.12.2018 / 11:21
1
answer

Random Scroll

I would like to know how to do so that at the moment you load the content of the html, the scroll ends in a random position. the functions are these > function scrollWin(a,b) { > window.scrollTo(a,b); > } >...
asked by 07.11.2018 / 05:34
1
answer

firebase does not work

I'm making a website where I use booststrap and firebase. Total that I have the form to collect the user's data to later send it to firebase to add it to the database. I have searched for information because it does not work (the data is not...
asked by 30.12.2018 / 20:03
2
answers

How to leave the header and footer fixed

I have the following code $(document).ready(main); var contador = 1; function main(){ $('.menu_bar').click(function(){ if (contador == 1) { $('nav').animate({ left:'0' }); contador=0; }else{ contador=1;...
asked by 16.10.2018 / 23:05