Posts by raddx • 558 points
32 posts
-
0
votes3
answers611
viewsA: Calculate values within all inputs with class='Quant'
var soma = 0; $('.itens_total').each(function(el){ soma+=$(el).val(); })
-
0
votes1
answer71
viewsQ: Inconvergence of consolidated results x by interval
I am making a query for 10 minutes interval between date, the problem is that when I give a between to count all the results it returns a value and when I divide these values by interval and sum at…
-
3
votes1
answer49
views -
4
votes1
answer146
views -
0
votes1
answer72
viewsA: Build app Cordova IOS no phonegap build
The problem was conflict between certificates, we erased all certificates in Keychain and we remade the file generation procedure . P12 and . mobileprovision, it worked!
-
0
votes1
answer142
viewsA: Fixed div when scrolling in different resolutions
var w = document.getElementById('banner').innerWidth var h = document.getElementById('banner').innerHeight or var w = $('.banner').innerWidth var h = $('.banner').innerHeight or var w =…
-
0
votes1
answer72
viewsQ: Build app Cordova IOS no phonegap build
I’m not able to build a simple app Ordova for IOS, wp8 and android builda right, anyone has been through this problem? I have looked in some places I have found no solution. The files . P12 and .…
-
1
votes0
answers126
viewsQ: Tinymce - Responsive file manager: Undefined error "defaultView" in jQ version 1.6
When I try to insert a file it does not open the file management window and gives the error: Uncaught Typeerror: Cannot read Property 'defaultView' of Undefined I tried running with jquery 2.1.4 but…
-
2
votes2
answers48
viewsA: How not to let a Domain appear on Google and other search engines
Put in the head <meta name="robots" content="noindex">
-
1
votes1
answer152
viewsQ: Take data after gridComplete
I need to get the full json returned by the jqGrid query, as I do? ... gridComplete: function(data) { console.log(data); //não funciona });
-
0
votes2
answers46
viewsA: Element outside the dialog
I got!! #dialog { overflow: visible; } .ui-dialog { overflow: visible; } you have to force the dialog class to display
-
1
votes2
answers46
viewsQ: Element outside the dialog
How do I display a ul/div that is inside the dialog? Note in the bottom right corner of the dialog <div id="dialog"> <div> <div> <button id="status-candidato">Run last…
-
2
votes1
answer301
viewsQ: How to assign a single nickname to 2 columns of different tables?
Is there any way to assign a nickname in 2 columns of different tables in SELECT? SELECT (a.coluna1, b.coluna2) as coluna_geral FROM tabela1 a LEFT JOIN tabela2 b ...…
-
4
votes1
answer1112
viewsQ: Logical operators javascript
I have a question Because this operation doesn’t work? if ($(v).attr('jgForm-required') || $(v).attr('jgForm-email') && $(v).is(":visible")) { ...................... } And that works? What’s…
-
1
votes1
answer52
viewsQ: socket.io inside express.js or vise versa
How do I put the sockets inside an express post? I need to identify a connect from the express session app.post('/login',function(req,res){ io.sockets.on('connection', function(socket){…
-
2
votes1
answer59
viewsQ: Where pelo select
How do I make the data referenced to select 'result' return only those containing the value '1' SELECT DATE(m.data_marcacao) AS data, nome_operacao operacao, f.cracha_funcionario,…
-
0
votes3
answers450
viewsA: Video Html5/css3
video { width: 100% !important; height: auto !important; }
-
3
votes1
answer70
viewsQ: Sort decimal notes
I’m ordering a related json into notes in undescore.js {8.0 , 8,5 , 5,5 } var asc = _.sortBy(oper, function(num) { return num.nota; }); Punch the 10.0 he doesn’t throw up.. He gets like this 8.8 6.0…
-
-1
votes1
answer287
viewsA: Data stream with socket.io
unbind() The problem was cumulative events
-
2
votes1
answer506
viewsQ: json_encode in html tag
How do I place a json generated by php in a link tag $array = array('a','b','c'); $json = json_encode($array); $link = '<a href.. tag="'.$json.'">'; // tried with JSON_HEX_QUOT | JSON_HEX_TAG…
-
1
votes1
answer114
viewsQ: Regular expression search
I’m trying to do a regular expression search on a huge json this way: json = _.filter(dados.responseJSON,function(rst){ return /rst.dst/m == tel }); But it’s not working. The goal is to search as if…
-
3
votes1
answer507
viewsQ: Clear Document write
I’m trying to collect the time through a server where I run the following app, only that the problem is that when I do the res.write it repeats, there is some way to clear the screen to generate a…
-
1
votes1
answer108
viewsQ: Dawn greater than night
How do I identify that 01:00:00(AM) é maior que 23:00:00h Is there a function in php where I set it? UPDATE: if('2015-02-20 23:00:00' < '2015-02-21 01:00:00'){ //TRUE }…
-
0
votes1
answer661
viewsQ: Prevent the event from being triggered 2 times
When I ask to open a modal for the first time it does the actions correctly, but when I close and open again the modal it performs the function twice, as I avoid this? function acoesModal(){…
-
4
votes1
answer287
viewsQ: Data stream with socket.io
Hello I am doing database data stream this way below, sé que esta sobrecarregadno muito o navegador do client, teria outra forma de stream sem ocorrer essa sobre carga? var express =…
-
0
votes1
answer486
viewsA: Redirect url to url:htaccess port
Problem with socket.io, have q set with port var socket = io('http://dashponto.softmarketing.com.br:1589');
-
1
votes1
answer486
viewsQ: Redirect url to url:htaccess port
It’s using Node to run my application and I can’t configure htaccess to point to the port I set RewriteEngine on RewriteCond %{HTTP_HOST} ^dashponto.softmarketing.com.br$ [OR] RewriteCond…
-
1
votes1
answer218
viewsQ: Filter through multidimensional objects with underscore.js
How do I filter objects by the operations attribute inside json? var data = Object entrada_diff: "00:00:00" entrada_hoje: "00:00:00" entrada_jornada: "08:00:00" entrada_status: "PENDENTE"…
-
2
votes1
answer338
viewsQ: How do N identify the path from the root of the request?
It’s like this: <link rel="stylesheet" href="http://localhost/node/softmon/css/style.css" type="css"> If I put it like that: <link rel="stylesheet" href="/css/style.css" type="css">…
-
0
votes1
answer931
viewsQ: Group data related to a column
I have the following code SELECT t2.conta_nome as operacao, t1.provedor_nome as operadora, perfil, count(*) as total FROM asteriskcdrdb.cdr_tarifacao a INNER JOIN telefonia.provedor t1 ON…
-
1
votes0
answers75
viewsQ: Proportional Y values
Hello, how do I leave the Y | values proportional without changing the values for better data visualization $(function() { $(document).ready(function() { Highcharts.setOptions({ global: { useUTC:…
-
2
votes2
answers3564
viewsQ: How to send/receive data from client to server?
How to send/receive client data to the server, making requests as a search in the database dynamically?