Questions tagged as 'javascript'

1
answer

Send view to controller values by jquery

I'm doing an application in .Net C #, and I wanted to make an input and a button that would send the information to my controller by jquery/ajax , and I have no idea how to accomplish this, I need to pass the information by ajax...
asked by 21.05.2018 / 21:17
1
answer

I have a question in the html and css of this code

Failing to adjust the CSS below. I made a code where jokempo play with the machine but the score is out of the player and computer divs. I've done everything to put it but it will not. <!DOCTYPE html> <html lang="pt-br"> <hea...
asked by 21.05.2018 / 02:49
1
answer

bank query with ajax on beforeSend

How to query the bank with ajax on beforeSend ? Example: var formData = new FormData(this); $.ajax({ url: "../_requeridos/cadastraPlano.php", type: 'POST', data: formData, beforeSend: f...
asked by 31.05.2018 / 14:37
1
answer

event with scroll javascript

I have the code below creating the effect of fadein and fadeout with the animate.css library in a scroll event, but when the event occurs applying fadeOut, it reappears until it scrolls, and the other error is that while the scroll is less than...
asked by 31.05.2018 / 06:43
1
answer

plugin creating empty space below HTML when resizing screen

On the page below: link I'm using the plugin jquery.ez-plus.js . which gives zoom to images . Everything works fine. But when I resize the navegador by clicking on the redimensionador above the X side to cl...
asked by 31.05.2018 / 13:33
2
answers

How to check if elements of an array are contained in another JQuery array

How can I check if elements of an array are contained in another array? ex: array_1 = ['wifi', 'internet']; array_2 = ['wifi', 'internet', 'telefone', 'email'] How can I tell if array_1 contains array_2 values using JQuery?     
asked by 30.05.2018 / 19:22
1
answer

Json Merge with Array in Javascript

I would like to know how to handle a json in javascript like: var arrDados = {"mes":["12","5","1"], "mes":["2","8","3"]}; var meses = {1:'Jan', 12:'Dez', 6:'Junho', 5:'Abril', 3:'Março', 8:'Agosto', 2:'Fevereiro'} The idea is that according...
asked by 14.06.2018 / 21:55
2
answers

Modal Bootstrap 4: How to call another within a modal

Galera ... I have a modal register. Being that I would like to call another modal, still being inside it. That is ... It would be superimposed on my modal of registration. I'm using the code to call my modal in Bootstrap 4: <button class...
asked by 18.06.2018 / 18:51
1
answer

Button not triggering function in JavaScript

The close button works fine while the submit button does not trigger the routine at all. $("#incluirItensNoGrid").on('click', function(){ alert("Hello World!"); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jq...
asked by 15.06.2018 / 22:37
1
answer

maskMoney (jquery) not displaying value correctly

Good afternoon guys, I'm having a problem using the jQuery maskMoney plugin. I am using the following statement before <div style="float:left; width: 25%"> <asp:Label ID="Label24" runat="server" Text="Valor Total: "></asp...
asked by 15.06.2018 / 20:17