Questions tagged as 'html'

1
answer

How to upload images and display them using jquery?

How do I upload images and display them within a div, and when the user re-uploads those images to be replaced. Ex: the user uploads images img1.jpg, img2.jpg if he uploads new images img3.jpg, img4.jpg the first image should disappear. In the c...
asked by 30.09.2017 / 20:37
2
answers

How to simulate a CTRL + V with javascript [duplicate]

I would like to paste a text from the clipboard using javascript, not an extension is a web page. I tried the document.execCommand('Paste') command in some ways but it did not work, I'm using Google Chrome.     
asked by 28.09.2017 / 17:02
1
answer

Url redirection by company

I am creating multi tenacy system, I have access page for companies link the views, what I like and that the user type link already go straight into your system keeping the company1 as a mask in the url and link and so on     
asked by 18.01.2018 / 17:53
1
answer

How to remove white margin from a Carousel (Bootstrap)?

I've created a carousel on my site through the Bootstrap code, and I want it to occupy the full width of the screen (100vw) and almost all the height (90vh); so I put in the container width: 100vw and height: 90vh, but when I open the site the c...
asked by 03.10.2017 / 03:29
1
answer

Coloring field select option chosen

I have a select option field and would like the user to click submit, the system would color the When inspecting the element with chrome, I noticed that the chosen one put a style display: none and if it does it works, but that's not what I w...
asked by 04.10.2017 / 22:29
1
answer

mount HTML element with vanilla JS, I can not list all elements of JSON

Where is the error in my code? I am not able to list all the names in a <li> different, in my console.log(items[i].name) all the names of the JSON appear, however at the time of creating the html element it only takes the...
asked by 04.10.2017 / 18:33
2
answers

Get the class and name of an Input

How do I get the class ( Class ) of the following code, making a condition with the values returned by the name attribute. That is, I want if the input has a given name in its name attribute it returns me in addition to the value of...
asked by 01.02.2018 / 15:02
1
answer

Datetime Picker

I'm using this datetimer picker datetimepicker The date appears like this: 2018 January 30 - 10:00 and I want it to look like this: 2018-01-30 10:00 Can you do it in jquery or do I need to change it directly in the datetime picker code?   ...
asked by 30.01.2018 / 20:56
1
answer

How do I create a mouse-over effect on an image and position it where I want it?

I'm trying to replicate an effect of mouse over but what I've achieved so far is a bit biased, the line with the effect is passing from one side to the other, and not just the length of the text, which is what I want , I do not know how t...
asked by 02.02.2018 / 03:13
2
answers

Align images with description

I need to align two images so that they are centered, with a description below. I tried something like: <style> .thumb { width: 140px; height: 140px; position: relative; float: left; }...
asked by 02.02.2018 / 12:12