Questions tagged as 'html'

2
answers

Background-position is not working

Hello everyone. I used the image-replacement technique, I tried to leave the image centered using the background-position: center center, but the position of the image remains unchanged. Someone could tell why background-positioning is not worki...
asked by 07.08.2017 / 22:54
2
answers

how to make editable radiobutton?

Next, I will have to add radiobuttons dynamically, in that they will have to be able to write. They come as label ne? I needed to be able to edit this label, it could be a text too, the important thing is to be able to add the radiobutton and th...
asked by 12.06.2017 / 20:11
2
answers

Submit only one element of two with same name

I have a form , and in this I have to inform the neighborhood, however the element that stores the information of the neighborhood can vary according to the value of the city selected previously. Example: If the city is "main" it s...
asked by 12.04.2018 / 20:19
3
answers

Add a title to the SELECT tag (without the "selected disabled" option) without it appearing in the options?

How do I add a title to select as it appears in the options and adds when it is selected? I know it looks like a duplicate, but the problem is that I did not find what I would like exactly, the selected disabled option works but...
asked by 03.04.2018 / 17:35
1
answer

Send values in onclick

I'm trying to send two values in onclick of HTML , however, the second value becomes "undefined", how can I send these two values to the function? p> echo "<h3 id='$input' onclick='transfertoinput(this.id, $resp)'>$resp</h3><br...
asked by 26.11.2017 / 05:03
2
answers

With what files should I use the link tag with BootStrap?

I'm studying about the Twitter Bootstrap and I have a question: what files should I use with the <link> tag? Are all files or just some specific files?     
asked by 18.03.2014 / 14:03
2
answers

How to write HTML within the Ajax success

I have a project in ASP.NET MVC 4 and in it I have a Ajax request where it calls the controller sending only one parameter. The request does everything correctly, it brings me a list of the data I need. What I want to kno...
asked by 19.03.2014 / 19:56
2
answers

Insert imagem.jpg in the database

Good morning! Home I want to insert an image in the database in .jpg format, but when it is inserted it appears like this in the database: ???? JFIF Here is my code related to the image: <form action="" method="POST" enctype="multipart/for...
asked by 08.06.2018 / 11:22
1
answer

How to scroll an element to the left

Normally when using overflow-y: scroll or overflow-y:auto , the scroll bar appears to the right of the element. .scroll-me{ height: 80px; width: 200px; overflow-y: auto; overflow-x: hidden; font-size: 18px;...
asked by 14.04.2017 / 18:28
2
answers

Leaving input in focus after javascript validation?

I implemented a simple validation to check if the input matches the rules and if it is negative it should be in focus to change the data, but the focus is not working, it leaves the next item in focus and not the one that was set in the javascri...
asked by 30.03.2017 / 14:22