Posts by felipe muner • 313 points
6 posts
-
0
votes0
answers1189
viewsQ: Select SUM within another select MYSQL
This query is already working: SELECT itens.setor, xregras.nsetor, itens.grupo, xregras.ngrupo, itens.conta, xregras.nconta, itens.dotacao, sum(IF(tipo = 'ES',total,0.00)) as efetivado, sum(IF(tipo…
-
0
votes4
answers1708
viewsA: Pass javascript object by parameter in ajax callback
Good night, you guys, I just happened to pass the parameters in that simpler way: '<td align="center"><button class="btn btn-default" data-toggle="modal" data-target="#editarRetrofit"…
-
2
votes4
answers1708
viewsQ: Pass javascript object by parameter in ajax callback
I know how to string: onclick="popularEdicaoRetrofit(\''+data[i]+'\');" and number: var criarRetrofit = onclick="criarRetrofit('+data[i].idRetrofit+');" I would like to know how to step an object as…
-
13
votes3
answers8540
viewsQ: Javascript floating point account realization with absolute precision
I am working with financial values and when it comes to performing mathematical operations in Javascript, the values are not as expected. console.log(11.8-10.2) 1.6000000000000014 I would like to…
-
1
votes4
answers3063
viewsA: Centralize paging in Bootstrap v2.1.0
Do so : //div who has the panel. <div class="span7 center"> box </div> //and use this . css below to center. .center { float: none; margin-left: auto; margin-right: auto; }…
twitter-bootstrapanswered felipe muner 313 -
4
votes2
answers609
viewsQ: Retrieve elements by class in IE8 with pure JS
I have it : <input type="hidden" value="<c:out value='${destino }' />" class="destino" /> <input type="hidden" value="<c:out value='${destino }' />" class="destino" />…