Questions tagged as 'javascript'

0
answers

Dynamic form showing value that was not to show

Talk, people, beauty? When I create a dynamic form, it defaults to select, an empty Value in the option, which is set to Value="N / A". When I add, for example, two dynamic forms to populate, at the time of showing in the content it shows one th...
asked by 09.11.2017 / 17:01
1
answer

Hide picture of a button

I have a ngfor of buttons with certain images, but I want that initially these images appear with black color and only when clicking the image the image appears. How would my class show_image in css? <ion-content> <ion-grid>...
asked by 09.11.2017 / 14:48
1
answer

How do I get the object or the value of a tr with DataTable

function excluirDadosTabela (){ $('#gridtabelaDocumentos').on('click', '.excluir', function(e){ e.preventDefault(); var teste = $('#gridtabelaDocumentos').DataTable().row($(this).parents('tr')).data(); console.log(test...
asked by 09.11.2017 / 16:36
1
answer

Confirmation before deleting record

I have a link that when clicking opens a modal asking if the user wants to delete the record. In the link I have a href that calls a route to do the deletion. How could you do to call this route only if you click the delete button? Link: &l...
asked by 08.11.2017 / 13:49
1
answer

Error logging in gmail - Permission denied to generate login hint for target domain

I'm trying to implement gmail login on my website, however, the same as the following error screen: I saw in some other questions that the problem would be because the link is with ip, instead of localhost or a domain actually ex: mydom...
asked by 09.11.2017 / 19:06
1
answer

Getting multiple values of equal inputs and storing in an array with Javascript / jQuery

I have this div, which is <div class='pergunta'> , inside it I have <input type='text'> <select></select> <input type='checkbox'> The question is that this entire div can be repeated if I click ad...
asked by 18.11.2017 / 18:50
2
answers

Problems with bootstrap grid system

My dear, I'm having a problem with the bootstrap grid system, I do not know why, but when I resize the site to the size of a device, it does not fit neatly. Any suggestion? HTML:<htmllang="pt-br"> <head> <meta charset="UTF...
asked by 18.11.2017 / 22:08
0
answers

Error [Can not GET] when simulating my application with lite-server with typescript

I'm having an error while simulating my application in typescript, the error generated is: Cannot GET / My tsconfig.json file from my application is simple, it only contains the following settings: { "compilerOptions": { "tar...
asked by 18.11.2017 / 14:38
1
answer

Send variable via Jquery function

I'm learning Jquery and catching it not even a convict. I created a function in the js file like this: $(function abrir_qd1(variavel){ $(this).click(function(){ $("#quadro1").load('arquivo.php?v=' + variavel); //carrega conteudo...
asked by 22.11.2017 / 10:49
0
answers

ng-click and ng-dblclick on same element

<div ng-click = "clickOne()" ng-dblclick = "clickTwo()">Enter</div> JavaScript > $scope.clickOnce = function () { alert("CLick One"); } $scope.clicktwice= function () { alert("CLick two"); } Would some w...
asked by 22.11.2017 / 14:38