Questions tagged as 'javascript'

2
answers

Pass values (radio) from one HTML to another

This is my first time here, I hope to be doing everything right. My question is the following, I have a page with a questionnaire of 4 questions, 3 of which the answer is given via 'radio' and the other via 'select' . In anoth...
asked by 12.03.2018 / 23:18
1
answer

Convert Blob to Non-angular String

Hello, I have a code in angularJS but it only works when I am in the browser debug. $scope.upload=function(){ var newFiles = []; $scope.carregando = true; angular.forEach($scope.files, function (item) {...
asked by 04.03.2018 / 05:50
1
answer

How to make a POST request in the browser console?

Good evening everyone! I'm studying penetration testing on an attack-oriented research site. For me to register, I have to "hack" the registration page. Basically I have to type a function in the browser console and it automatically generates th...
asked by 03.03.2018 / 03:23
1
answer

Change only one checkbox

How do I change just the checkbox I'm clicking? checked:boolean=false; ck() { if(this.checked === false){ this.checked=true; }else{ this.checked=false; } <ion-item> <ion-label class="title" [clas...
asked by 03.03.2018 / 15:47
2
answers

Multiplying values from a PivotTable

I have a pivot table with quantity columns of a product and unit value, where I need to multiply the unit value by the quantity (qtd X val_unitario) and at the end to show the total sum of the multiplications (according to the image) $...
asked by 02.03.2018 / 21:37
1
answer

KEYCODE 9 JQUERY does not work

Hello Can you tell me why keycode == 9 does not work? $("#txt_cep").keypress(function (e) { if (e.keyCode == 9) { $("#btn_pesquisa_cep").click(); } else if (e.which == 13) { $("#btn_pesquisa_cep").click();...
asked by 01.02.2018 / 21:17
2
answers

Bootstrap message, apply location.reload at the end of message

Good afternoon, I'm trying to apply location.reload to the end of a messagebox after the .remove() effect of 2 seconds but I'm not familiar with javascript could someone help me with the code: function ShowMessage(message, m...
asked by 01.02.2018 / 19:54
1
answer

Menu with doubt dropdown

Well, I made a menu with dropdown that gives a little problem. As soon as he opens, he stretches the line rather than being in a box. Can anyone help me - > link link where the menu is located. <html> <head> <style> widt...
asked by 02.02.2018 / 20:22
2
answers

Add loader in ajax

How can I add a loader to my ajax request? $(document).on('click', '#reg-discagem input[type="submit"]', function(e){ e.preventDefault(); var form = $('#reg-discagem'); $.ajax({ url: 'EnviarPedid...
asked by 01.02.2018 / 20:35
1
answer

How do I make a button locked when clicked?

I have inside this bootbox, two buttons, the first one that is written "Send Error Report" I wanted it when the person clicked it it would type a glyphicon indicating that it is processing the sending and it precludes the person from clicking ag...
asked by 01.02.2018 / 12:57