Questions tagged as 'javascript'

1
answer

Passing parameter in the FILTER of an array in JavaScript

I need to pass a parameter to an external function that I want to create for a filter array, but I do not know how to do it. Example: This code already works: const myArray = [ { "name": "nome1" }, { "name": "nome2" }, { "name": "...
asked by 26.05.2017 / 00:25
1
answer

How to not repeat the same input request

I need to create a page where I can choose a PLAN (or more) and a PLOT for each chosen plane. At the moment, when I make the foreground choice, it is interfering with the options available for the background choice, and this is not the desired b...
asked by 28.01.2017 / 20:38
2
answers

Disable button during javascript processing c #

I have the following asp button: <asp:Button ID="btnOk" runat="server" AutoPostBack="true" CausesValidation="true" ClientIDMode="Static" Text="Ok" Width="80px" OnClick="btnOk_Click" OnClientClick="btnOk_OnClick();return true;" class="dxbBu...
asked by 30.01.2017 / 16:49
1
answer

Loop Javascript - 1 + input

Good evening, everyone! I'm stuck in a Javascript loop, it's the following: User types any positive number, example 15. I need to make the number 1 up to 15 available on the console. The problem is that I do not know how to increment...
asked by 27.01.2017 / 07:51
1
answer

Form sending only with HTML and / or JS [duplicate]

I need to have the user click the "Send" button automatically to redirect to another page with all the data entered by the user such as: email, password, name, etc. (using "get" method) . It happens that I tried to do it and only managed to...
asked by 25.01.2017 / 04:05
3
answers

Add checkbox inputs and in the end subtract one

I have rephrased this question, I will try to be more objective. I have this field in the form: Wherethecodeareathatcomputesisthis:$("div#molhos :checkbox:checked" ).each(function() { sub += $( this ).val() * $( this ).parent().find...
asked by 24.01.2017 / 13:23
1
answer

Website with animation [closed]

I started studying web now and would like to know which languages are used to make a website with animations like these: link link Thank you!     
asked by 13.01.2017 / 10:52
1
answer

Changing properties of a div with a click

I have the following html: <div id="personalizada"> <i class="fa fa-plus" aria-hidden="true"></i> </div> <div class="balao"></div> I would like when I click id="custom" the opacity of id="balloon" cha...
asked by 12.01.2017 / 01:29
1
answer

How to make this background with animation [closed]

I started to study a little about web, I would like your help to know how to make a background with an "infinite" animation like the one on this site: link Thank you!     
asked by 13.01.2017 / 12:59
1
answer

How to keep value in html5 even if changing in F12 mode?

Follow the code: Html5: <button id="btnSave" data-id="1">Save Click</button> JS: $(document).ready(function() { $("#btnSave").click(function(e) { AlertSave($(this).data("id")); }); }); function Ale...
asked by 16.03.2017 / 20:04