Questions tagged as 'javascript'

2
answers

Receive data in JavaScript

I have a very vile doubt about JavaScript, but I believe you will understand me, since I am a newcomer to the language. Next: I created a page in html where the user will have 5 options of services to choose, right? Right! When the user...
asked by 26.10.2016 / 00:11
2
answers

Control of modal appearance

I created a modal, which when clicking a click it asks if the person wants to register the email to receive more information. And this mod is in more of a link throughout the site. How could I control the appearance of it? Type if the person has...
asked by 27.10.2016 / 21:56
1
answer

How to write data in webstorage without replacing the data already recorded? [duplicate]

I created a form and when the user completes this form the data is sent to the local webstorage and from there to a table. However, whenever I write a data in the localstorage the previous data is overwritten, can I get the data to be sent to...
asked by 28.10.2016 / 02:22
1
answer

script only in visible tags

I want the script to count only the <li> tags that are visible, but the code below counts even with display:none . Is there anything that does this? I have the following HTML: $( ".rodapeUlCat" ).append( $( "<...
asked by 25.10.2016 / 22:58
2
answers

How to change the position attribute (css) of a div

I have div of id = 'retangulo' with position:absolute; . When the page loads, this vertical rectangle only appears in half. I want when the person rolls the site at a time when the whole rectangle appears, it stays with po...
asked by 22.12.2016 / 19:53
1
answer

How to put a scroll in the flap system

I'm setting up a flap system, it's running 100%. The problem is when I open it on a mobile screen it has to scroll the tabs of the tab, just like the Android system. Could anyone help me? $(document).ready(function () { $('.tab-con...
asked by 21.12.2016 / 19:39
1
answer

Sum between inputs value fails in certain cases

I can not add the values and put the mask correctly between the inputs. For example, I'm adding the following values to each input: Adhesion Value input: 1.300,44 Input 1 of Dependent Values : 1.300,44 Input 2 of D...
asked by 21.12.2016 / 18:33
2
answers

Select help to create new input text

Good afternoon, I have the following doubt: I have a select field with more or less 100 options. In this current select, I choose an option and this chosen option is populated in a new input text ... I wanted to put a "More" button and whe...
asked by 26.09.2016 / 18:59
2
answers

Destroy AngularJS function

I have a page in my project that contains several categories and in each category, it has a Flexslider with the images. Each category is displayed once and clicking another one, the previous one is hidden and the one clicked appears, a scheme si...
asked by 08.09.2016 / 13:27
2
answers

Regex in javascript

How would a regex be to get only numbers and / in a string. Example: Start date: 08/29/2016 Results: 08/29/2016     
asked by 07.09.2016 / 21:32