Questions tagged as 'javascript'

2
answers

Make a DIV element be positioned as a footer

Here's an example of what I'm trying to adjust: * { margin: 0; padding: 0; } html,body { height: 100%; } #topo { background: limegreen; position: static; left: 60px; top: 35px; width: 100%; line-heig...
asked by 25.05.2018 / 19:08
1
answer

React Input Mask how to put the ninth digit?

I downloaded the package npm i react-text-mask --save I made the import in my Contact file but by default it goes out like this (55) 5555-5555 I'm having trouble putting this pattern 5555-5555 Could anyone give me a hint how to do this? My...
asked by 18.05.2018 / 21:51
2
answers

Adapt boxes to mobile layout

Hello, I have a layout that looks like this IuseBootstraponit..Whenitreachesacertainbreakpointitgetsasimilarformattoit I want to make the following effect, when the layout receives the formatting demonstrated in the second image, those gre...
asked by 04.04.2014 / 21:22
3
answers

div set when scrolling page down

I would like to know how to make a div fixed on the side side by scrolling the page down. What I want to do is exactly like the side newsletter from this page ... By scrolling down you will better understand what I am talking about....
asked by 06.04.2014 / 21:39
1
answer

Match javascript variable to a variable in php

I have a form, and before the form is submitted I want to validate if the nome_carro field exists the same in the database. To do this validation I'm using javascript. In the form I have the following: <form method="post" action="...
asked by 09.04.2014 / 16:33
2
answers

Remove Button in function of javascript [closed]

Is there a way to remove or disable the (cancel) button of the javascript prompt?     
asked by 16.10.2018 / 19:14
1
answer

Sort array of JS Objects

Talk Galera, I started to study JS and created a list function that creates the list that verifies the user's gender and creates a list as below. <ul> <li>Diego é homem e possui 23 anos</li> <li>Gabriela é mul...
asked by 18.11.2018 / 01:44
1
answer

Create custom property in JavaScript [closed]

I want to do the following, I use data types to create customizable properties, however I wanted to do as VueJS it has v-on among other properties and it was created using HTMLElement?     
asked by 27.11.2018 / 16:15
2
answers

Minimal Hover Menu - The Right Way

In the example below we have an interesting menu, with a effect hover, which follows the mouse and its items. Everything is very beautiful and works well. The problem is that this menu is set to default dimensions, so you can not add more item...
asked by 16.03.2018 / 19:39
2
answers

Print HTML page keeping the CSS of the page

Good afternoon guys, I have a report that is generated on a page aspx with bootstrap and CSS . The content of the report is within div <div id="pdf2htmldiv">...</div> where I call via javascript for printin...
asked by 07.03.2018 / 20:27