Posts by Rogério Pancini • 119 points
17 posts
-
-1
votes1
answer85
viewsQ: Currency formatting in input calculation
The script idea is correct. I just couldn’t put the currency formatting in the "minimal preco_n" field (with value script). If I put real currency formatting in that input, it does not calculate.…
-
-2
votes1
answer99
viewsQ: Place a bar at the end of the url (or before the query)
I implemented this script, language exchange (or unit exchange, in this case): /*Aqui ele coleta a seleção*/ $('#unidade').on('change', function() { document.getElementById('form_unidade').submit();…
-
-1
votes1
answer47
viewsQ: Calculate the difference of months
I have that function <?php function calcula_intervalo_custo($data_inicial, $data_final) { function geraTimestamp($data) { $partes = explode('/', $data); return mktime(0, 0, 0, $partes[1],…
phpasked Rogério Pancini 119 -
1
votes0
answers15
viewsQ: Vertical image taken on smartphone "gets" horizontal when uploading
I arrived here after trying to understand and look for some solution, but this is one of the rare times I can say that I have no idea what to do. It is a small real estate system (the image is of a…
-
-1
votes1
answer69
viewsQ: Do not download when exporting to Xls using PHP
I always use a script to export data to xls with PHP. It served me a lot, but in this case I just need to generate the xls and attach in the email. I spent much of the morning trying to make the…
phpasked Rogério Pancini 119 -
1
votes0
answers19
viewsQ: Get the userid and accessToken from Instalgram on Facebook Developers
I have this script from Instafeed, that has always worked very well. <script type="text/javascript" src="<?php echo $dir_base; ?>js/instafeed.min.js"> </script> <script> var…
-
1
votes0
answers153
viewsQ: Jquery: calculations with real money mask and date sum
I have a screen ready. But there are some adjustments that I’m having trouble solving. One of them is the calculation of values with the mask of Real. Without it, it works perfectly. With it the…
jqueryasked Rogério Pancini 119 -
0
votes1
answer24
viewsQ: Problem with the Isotope and the loadmore
I have customized an Isotope scritp with the "loadmre function". It is working correctly, but when clicking on any of the filters, the "Hidden" class is removed and there is a "hole" in the footer.…
jqueryasked Rogério Pancini 119 -
0
votes0
answers1232
viewsQ: Uncaught Typeerror: Cannot read Property 'length' of null
I’m making the selection of employees, using the Select2. Use of these inputs: <div class="form-group"> <div class="row"> <div class="col-md-12"> <label>Destino</label>…
jqueryasked Rogério Pancini 119 -
0
votes1
answer194
viewsQ: Dynamic menu with PHP
The menu is practically ready, in the last part I am facing a problem with the foreach, as shown on the right side of the image (the menu on the left is still the mechanical menu). For the…
phpasked Rogério Pancini 119 -
0
votes1
answer34
viewsQ: Check if there is duplicate value in while
I’m half a day trying to do this. I have this loop if(@mysqli_num_rows($sql_es_1_aux) == 1){ echo ""; }else{ $sql_es_1 = mysqli_query($config, "SELECT peso FROM tb_sub_agrupamento WHERE id_ctr IN…
phpasked Rogério Pancini 119 -
0
votes1
answer274
viewsQ: Site Optimization - Take advantage of browser caching
I am optimizing my site in Google Pagespeed Tools. An item I have no idea what to do. There it is: Take advantage of browser cache Setting an expiration date or maximum age in HTTP headers for…
-
0
votes1
answer3690
viewsQ: Jquery mask for real currency
I’m wearing this mask: $(".real"). Mask('#.#0,00', {Reverse: true}); There are some inputs that receive some calculations, such as this: $('#vd_ga').on('blur',function(){ var vd_ga =…
jqueryasked Rogério Pancini 119 -
0
votes1
answer121
viewsQ: Sum with Jquery
I’m doing a simple calculation of some values: /****** Cálculos Google Adwords ******/ $('#vd_ga').on('blur', function() { var vd_ga = $('#vd_ga').val(); var pvm_ga = $('#pvm_ga').val();…
jqueryasked Rogério Pancini 119 -
1
votes1
answer326
viewsQ: Return results with POST Jquery and PHP
I have this script that searches the database and returns the values within each input: $('#cidade_estado_sel').hide(); function limpa_formulários(){ $('#nome').val(""); $('#telefone').val("");…
jqueryasked Rogério Pancini 119 -
4
votes2
answers1215
viewsQ: Darken screen by clicking on the search bar
On the Americas and Submarine websites, it has an effect that by clicking on the search bar, the entire site is slightly darkened to highlight the search bar. That one I don’t know the name of the…
-
1
votes1
answer936
viewsQ: Using Jquery Validate in conjunction with Form Wizard
I’m putting together a step-by-step form. I did a test the Validate in the email field and, the verification of the email worked, however, Validate does not bar go to the next step, if the field is…