Questions tagged as 'html'

3
answers

leave first selected item selected

Good afternoon to everyone, how are you? Next, I'm listing some courses with v-for and it's a good one, however, option needs to be selected and I'd like the first select item already selected to indicate to the client better ... it works, but it...
asked by 13.09.2018 / 19:55
1
answer

Div set when it arrives at the top

Well, I do not even know how to ask and name what this functionality is, something similar to the Airbnb site when the right side card reaches the top of the page it stays fixed by moving only the contents of the middle of the page. How do...
asked by 12.09.2018 / 13:38
2
answers

Paste outer html

How do I get the outerHTML of a jquery object? The following form is not working. $("selector").outerHTML;     
asked by 12.05.2015 / 16:50
2
answers

Put an HTML tag on top of / body using string (PHP)

Hello I'm doing a software to send Emails in PHP. The person has a form and it sends HTML through a link. But here I will put a simple HTML. $texto = "<!DOCTYPE HTML> <html lang='pt-br'> <head> <meta charset='UTF-8'>...
asked by 26.05.2015 / 20:22
2
answers

Avoid submitting form by pressing the Enter key

I have input in VueJS that is within form and when I press enter I do not want form to be submitted. Together with VueJS I'm using Quasar and I was able to assign the function call only on the enter key: &...
asked by 18.10.2017 / 15:05
3
answers

Give Hide / Show and show items content of the clicked item

I want to show / hide the div by clicking on it and hiding when clicking on another item, I'm just able to hide when clicking on another item, when clicking on it, I can not hide it. Example of how the code is $(document).on('clic...
asked by 13.10.2017 / 19:03
3
answers

How to draw a Ribbon (gift tag or label) on a div?

How do I draw this green ribbon in the upper right corner of the center div? Icouldnotfindawaytodoit,couldanyonehelpmewiththis?AftertheanswerIcaneditthequestiontomakeitlesscenteredformycase. .box{ background-color:red; } .box p{ tex...
asked by 30.08.2018 / 22:51
2
answers

Stylize Required

Instead of appearing in that text box, I would like only the edges of my input to be red when the user does not fill them. is there any way to do this?     
asked by 04.08.2018 / 14:57
1
answer

Other Type of checkbox

How can I make a checkbox that every time I click on it, is the same as a value entered, so I do not need to put the number next to my checkbox in the input box. If I have not been clear, comment below to help me instead of disqualifying my ques...
asked by 24.01.2017 / 23:56
2
answers

Delete specific word from a string

Good evening, everyone. I'm having an issue that is as follows: I need to remove the ' <br> ' tag at the end of the data in my database (PostgreSQL), due to the text editor it automatically places. I could not create anything c...
asked by 05.11.2015 / 01:35