Questions tagged as 'html'

2
answers

Access a variable session from jquery

From jquery, I send to validate a user via Ajax, validation that is in a PHP. If the validation is Ok, the PHP puts the user in a session variable: <?php $_SESSION['nombre']=$usuario; Then, I print said variable in the html: <div>...
asked by 22.11.2016 / 03:13
1
answer

because there is a difference in the size of the images in Chrome and Firefox

because this difference in the images is to say in chrome the image looks deformed while in Firefox it looks like I hope my code to adjust the images is the following: .dark{ display: flex; justify-content:center; align-items: cente...
asked by 25.08.2018 / 21:13
1
answer

Detect changes in HTML code

Hi, I would like to know how to detect changes in an HTML structure. For example <html> <div><div> <html> Over time that structure will be changing.I would like to know if there is any way to detect the changes..wit...
asked by 12.09.2018 / 20:09
2
answers

Send an item below the whole in a div

I would like to know if there is any way to send an element below the whole of a div. It would be something of the style: : last-child {    float: left; } But instead of left-right, it would be up-down. This would be the current code:...
asked by 25.09.2018 / 18:27
1
answer

Save a browser cached image

I have several% tag img in my html, and the src is an external route to my server, every time I reload the page I must wait for the images to load, I know that the LocalStorage exists but I do not know how to save the image as such...
asked by 12.09.2018 / 01:41
3
answers

Count logs with foreach PHP

Well it's quite simple I suppose, but the point is that I want to count the records in the database, in this case I have 2 in the DB, and when I put the foreach and see it in the table it shows me the 2 records but with the number 2, when...
asked by 21.08.2018 / 21:10
2
answers

I have some images saved in an array of objects and I want them to be the same size at the time of presenting them

I have my script like this: var imagenes={"leon":'<img src="imagenes/leon.gif" width="200" height="200"/>',"burro":'<img src="imagenes/burro.gif"/>', "ballena":'<img src="imagenes/ballena.gif"/>',"gato":'<img...
asked by 23.08.2018 / 22:49
1
answer

Delete the word selected by the user from a text

This is the only thing I need to finish my project, I need to know how I could remove a phrase that the user enters by keyboard, this by means of a function activated by a button. I know that a picture is worth a thousand words, so I'll leave...
asked by 26.09.2018 / 16:30
1
answer

Show hidden items in HTML With js

Cordial Greeting. What I want to do is the following: I have the following form: <div class="field"> <label for="name">Codigo Coordinador<span class="required">*</span></label> <div class="input...
asked by 01.10.2018 / 16:26
2
answers

Avoid double submitting a form

I have a form which I send data through a post but sometimes the server takes time to respond and if you give it again in the save button it duplicates the information as I do so that the save button is disabled when it is already has once click...
asked by 25.06.2018 / 15:44