Questions tagged as 'javascript'

1
answer

Method prompt JS - 'if' 'else if'

I am still a layman in JS, but I believe that this question is simple, so if you enter a numeric value instead of letters, it will write on the screen 'Wrong Instance!' and if he type some letter other than my name 'Elienay' he would return to q...
asked by 03.07.2018 / 01:56
1
answer

Error form login (front)

I'm doing a login screen and register, but what was meant to be 2 in 1 ends up separating, the sign up form is below the login. Html <div class="login-box"> <div class="lb-header"> <a href="#" class="active" id="login-b...
asked by 01.07.2018 / 23:06
1
answer

Show and hide table in JavaScript with arrows

Good morning! For example I have a page with the content in a table, in a <td> the text appears and in the other <td> the image. HomeAndwhenIclickonthenextarrowIshouldshowthenexttablewithanothercontentandtheotherimage,...
asked by 03.07.2018 / 12:55
1
answer

Read goal with javascript

Many google apis use javascript to work, in authentication they use <meta name="google-signin-client_id" content="api-key"> and javascript le this to authenticate, how do they do for JavaScript to read this?     
asked by 03.07.2018 / 14:24
2
answers

Electron crashing when opening more than one application

I'm going through a little problem: c Whenever I open more than one Electron application and it starts loading a new main window for the user to start using the application, the entire operating system gets extremely slow for a few seconds un...
asked by 03.07.2018 / 07:24
1
answer

ASP .NET - Local file directory using Chrome

I have the following code snippet: <div class='upload-border'> <input class='file-upload' id="fileUpload" runat="server" type="file" name='upload'/> </div> I need to get the local directory of the file I just selected....
asked by 29.05.2018 / 13:17
1
answer

Upload with jQuery

I have following code : $(document).ready(function(e) { $("form").on("submit", function() { $.post ("upload.php", { fotos : $("input[type=file]") }, function(retorno){ alert(retorno)...
asked by 24.05.2018 / 18:56
1
answer

Get input ids using for no js

Hello, I'm trying to get the value of 10 inputs and put them in a vector of 10 houses, but I'm not able to do this by, can anyone help me get it to be% var from% by example get the value of n[0] ? var i; function calcularMaior() { var...
asked by 24.05.2018 / 20:31
1
answer

Compare fields on a form

I have a form with the fields below. I need to compare the year of the field select with year of the date entered via JavaScript, and the year of the entered date must be identical to the year chosen, but not yet successful. <label f...
asked by 24.05.2018 / 16:42
1
answer

Make record popup done!

Good morning, I want to pop up popup when registration is successful and placed in the base and I want to know where in the code I should put it This is the php file: <?php if(isset($_POST)&&!empty($_P...
asked by 21.05.2018 / 16:01