Questions tagged as 'javascript'

1
answer

Reorder elements of an on-screen search

I have an application in django and need to reorder the elements of the screen when the user decides to sort by date, popularity, etc. I would not like to submit a new search every time the user selects a filter, I believe the best way would...
asked by 31.10.2018 / 16:02
0
answers

Adding content to pagination

In JavaScript, in the part that says to insert my content, only accepts text, and I do not want text, I want the same content, which involves more code as you can see in the HTML file in my attempts. I would like to be able to add content to the...
asked by 11.11.2018 / 01:25
0
answers

Sum and Multiply dynamic input

Ihavethisfunctionthatmultipliesqnt*vlor=subtotalinaPivotTable.Butitonlycalculatesonthefirstline.Iwouldalsoliketopullthesumsumtotalsubtotal.Ifound this link but wanted something simpler. Sum <script type="text/javascript"> $("#tbod...
asked by 09.11.2018 / 18:11
1
answer

Console error: Can not bind to 'formGroup' since it is not a known property of 'form'

I'm using Angular 6 and I'm creating a form: The form: <app-layout> <div class="card"> <div class="card-header"> Novo Post </div> <div class="card-body"> <form [formGroup]="form" (ngSubm...
asked by 09.11.2018 / 14:23
0
answers

How to set animation attribute via js?

Well, I need to set an animation attribute in css via javascript. When a speed is greater than X put an animation and when smaller I put another JS: $(function() { $("li#liFluxo").click(function() { if(!document....
asked by 09.11.2018 / 15:02
1
answer

Get value of Select Option and Checkbox of several lines

I need to make a list of employees that are linked to cost centers and I need to tell you if that employee is a leader within that cost center. I tried to mount a select and an added checkbox by clicking the + button, but I can not get the co...
asked by 09.11.2018 / 18:49
1
answer

Error executing js

I have the js code (below) to change the name of a link, but the script does not work. And when I do the console it works normally. Can someone tell me what it would be? The script is at the end of the html document. <script> var tex...
asked by 09.11.2018 / 15:57
0
answers

fill municipality's combobox according to the selected state in Angular

Good morning, I have a combobox of municipality that is loaded with the municipalities according to the state selected, I am bringing the data of an API done in C # as follows: $http.post('views/sistema/sistemas/service.aspx/Municipi...
asked by 30.10.2018 / 16:21
1
answer

I can not use CSS pseudo-element with JQuery

I want you to click on the pseudo-element, the menu opens, I tried several codes but none worked, the last one I tried was this: $('#overlay-menu').after().click(function(){ var menu = $('#overlay-menu'); //Antes eu tentei usar o this, por...
asked by 11.08.2016 / 16:31
0
answers

How to make a jQuery function respond to two distinct events

The jQuery function I created makes asynchronous requests as follows: var meuObjeto = (function () { return { minhaFuncaoAjax: function (url, linkContent) { $.ajax({ url: url, type: 'GET...
asked by 30.10.2018 / 00:17