Questions tagged as 'javascript'

0
answers

I can not access the value of an input from a form in an FB.api ()

I need to get the id of a group on facebook that is passed to me through a form, so that I can access data from that group, but I can not use that id in the FB.api () function, because the function does not recognize the value that is assigned t...
asked by 17.02.2017 / 20:26
2
answers

Validate Fields and Make Form Send

In this script below I validate the fields if the passwords are the same I'm not sure how to make the form work only if the passwords are the same <script> function validarSenha() { NovaSenha = document.FormSenha.Password.value CNova...
asked by 19.02.2017 / 23:33
1
answer

JavaScript click the button and calculate a difference

I need the result of the transformation to appear when I click the Calculate button. HTML <div id="principal"> <form id="form"> <input id="valorX" type="text" size="15" /> <select id="conversao">...
asked by 02.10.2016 / 21:47
0
answers

Doubts with select array [duplicate]

I do not have much knowledge in javascript, I would like to know if it is possible, when changing a main select, to update the others to select the same information from that main. Example: I'll choose the primary currency of a form of paym...
asked by 24.08.2017 / 16:20
1
answer

2 clicks to open the popover again

I'm creating a popopver where I put a close button on it. As shown below in the image: HTML:<divclass="dropdown" style="float: right;"> <button type="button" class="btn btn-default btn-xs popover-markup" data-placement="bot...
asked by 25.08.2017 / 05:01
0
answers

Keep Tab Selected After PostBack

I'm trying to keep the selected tab, after postback, I'm trying to do it this way: <script type="text/javascript"> $(function () { $("#myTabs").tabs({ activate: function () { var se...
asked by 29.08.2017 / 13:42
0
answers

Add number in the graphic center

I started to see the JS chart a short time ago, and I needed my donut shape chart to have the percentage of the first value in the middle of the chart, as it is in this image: Inthecaseoftheexample,displaythevalueofPeterinthemiddle. var ran...
asked by 03.10.2016 / 21:51
1
answer

method rebuilder class javascript?

I'm planning a class letter: class Carta { constructor (el) { // propriedades imutaveis this.el = el; } // metodos reconstrutor () { // propriedades mutaveis } isManilha () { } desenhar...
asked by 24.08.2017 / 22:46
1
answer

How to divide all span .class by 3

How to make these divisions and get different results for each division. The result comes out just right for the first price and in others the result is all the same: 200. $(document).ready(function() { $(".ecwid").click(function() {...
asked by 29.08.2017 / 11:31
0
answers

Filtered search (by Label blogger)

Hello, I'm having trouble in a blogger search system. The problem is that I want to filter searches by Label . <form action='/search' class='navbar-form navbar-right' id='searchthis' method='get' role='search' style='display: inline;'&...
asked by 24.08.2017 / 15:54