Questions tagged as 'html5'

1
answer

How to display the text in the datalist and not its value?

I made a coupled autocomplete in a input field without much difficulty, as shown below: <label>Professor</label> <input type="text" list="list-professor" name="professor_id"> <datalist id="list-professor">...
asked by 11.08.2017 / 16:05
2
answers

Button with different format with CSS [duplicate]

I needed to make a button with css plus it has a different format. It is possible to make a button like this only with css     
asked by 17.04.2018 / 17:50
4
answers

Check if file input is in file or not

I need to do a validation in the file field, if it does not have an attachment, show me a message on the screen, forcing it to attach, I tried some alternatives and I could not. <div class="form-group" id="inputOculto"> <input n...
asked by 06.04.2018 / 16:37
3
answers

Hide and reveal text using JavaScript [duplicate]

I have a div that has a news, I need to hide a part of the text when the file is read by the browser, in addition the user can see the full text if you want by clicking "View More" which is a <a> and then make it reduced. I...
asked by 14.04.2018 / 04:12
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

Send PHP notifications

I see a lot of websites using pushcrew (or other services) to send notifications, even if the browser is closed. My question would be, is it possible to do this directly using the HTML 5 Notification API? How would you do via PHP send noti...
asked by 11.05.2017 / 17:41
2
answers

How to pass a different value in an HTML form?

I am creating an HTML date filter so that the SQL query can return a specific value to me. I'm just trying to pass this information on because the form option needs to appear in the month as <option>Março</option> . My SQ...
asked by 08.09.2016 / 04:23
2
answers

Change source of input submit value and reset

Is there any way to change the font-family of the value of input submit and reset, just as I did with the placeholder using ::-webkit-input-placeholder And it's like someone from you to give me a help and help me align the checkbox nex...
asked by 26.08.2016 / 23:14
2
answers

Insert array within a scope of the angle

Hello, guys, I'm a beginner in angular, and I'd like to know what I'm doing wrong here. Look at this: Every time I click a button I want it to add some "modified" information from an object called a match to the betting object. The problem is th...
asked by 09.02.2017 / 14:22
1
answer

How to make a "link format" (a system that reads the content of other websites)? [closed]

I would like to integrate a facebook-like system for reading external links in my project. Type when posting a "www.un-site-qualquer.com" link on my site I would like to get a result like the picture below!     
asked by 23.01.2017 / 08:58