Posts by sNniffer • 1,009 points
131 posts
-
1
votes2
answers1244
viewsA: Upload image Php Bootstrap File Input (Undefined offset)
Solved, I stopped using the Bootstrap File Input, in fact the same only works with Drag and Drop if the upload is done via Ajax. I am using HTML5. <style> .thumb { height: 75px; border: 1px…
-
0
votes1
answer66
viewsA: Load Marker G Maps from While php
After all that thinking, I decided. Inside while php, create a div named 'list_map_' Start Javascript on another While on index this way google.maps.event.addDomListener(window, 'load', init);…
-
4
votes2
answers1244
viewsQ: Upload image Php Bootstrap File Input (Undefined offset)
I’m using the Plugin Bootstrap File Input And it’s returning to me 'Notice: Undefined offset:' Codes <input id="file-upload" name="files[]" type="file" multiple> Form already has the…
-
0
votes1
answer55
viewsA: Slidetoggle Does Not Load Maps Correctly
Solved. I started the maps without Display:None, and after a few seconds I apply the Display:None per function. Maps are already loaded and the problem no longer occurs…
-
0
votes2
answers409
viewsA: Implement Drawing Google Maps
I changed the application, I took out Drawing and I’m using Polygon: function initMap() { // Map Center var myLatLng = new google.maps.LatLng(33.5190755, -111.9253654); var mapOptions = { zoom: 12,…
-
0
votes1
answer55
viewsQ: Slidetoggle Does Not Load Maps Correctly
I have two maps on one page, I am using slideToggle and slideup to display make available for viewing only one map at a time. mapa_fixed and mapa_movement are the Ivs that contain the maps.…
-
1
votes2
answers409
viewsQ: Implement Drawing Google Maps
Opa, I have two maps on my page, in one of them will be necessary to implement Drawing, but, it is not working, to call it I am using. if ($("#geocomplete_rota").length) {…
-
7
votes2
answers1595
viewsQ: How to make Jqueryui autocomplete with PHP return multiple data?
I have two inputs, I’m using the automplete in only one. The code of the autocomplete: $(document).ready(function() { $.getJSON('include/funcoes/carrega_cidades.php', function(data){ var dados = [];…
-
1
votes1
answer66
viewsQ: Load Marker G Maps from While php
Opa, I have a file . php with a while, where I return several records with addresses, this file is being called in a include in my index. while prints multiple Ivs where inside each has another div…
-
1
votes2
answers209
viewsQ: Relate and compare Mysql and VB6
They gave me a system of a company to update, they have 3 tables Mysql 'vendaesc, sale, venda_forma_pagamento'. From what I understand the vendaesc table serves to store the items of sale. I need to…
-
0
votes1
answer499
viewsQ: Pass value to variable in fopen PHP
Opa, I’m reading and displaying the contents of a. php file: $arq="modelo.php"; $abre=fopen($arq,"r+"); $conteudo=fread($abre,filesize($arq)); fclose($abre); echo $conteudo; I normally echo html,…
-
1
votes2
answers543
viewsQ: Catch reCaptcha Value Google Ajax
I am registering a form with Ajax, how to implement the use of reCaptcha? <input type="text" name="email" id="email" class="form-control" placeholder="Email" required> <div…
-
2
votes1
answer114
viewsQ: Do not add field if column equals Mysql
Opa, I am adding up the total of a double column, what I need is that, the query does not add up this column if the Cod column is equal. Explaining better, the Cod column can be repeated, if it is…
-
0
votes1
answer350
viewsQ: Recover Only Geocode City Name Maps PHP
I am using, in PHP this code to recover the address, is returning me normally, what I need is to recover only the name of the city, have as? $lat =$_POST['latitude']; $long =$_POST['longitude'];…
-
6
votes3
answers2268
viewsQ: Site within App
I have a classified site, I need to create an Android app from my site, I do not program in Java, You can create an app where within it is displayed the site in mobile? Type an iframe of the site…
-
0
votes1
answer236
viewsQ: Capture Iframe input data
Well, in a page I have an iframe, it is displayed part of the other site my, are on different servers, what I need is to access the iframe input and send to a variable javascript of my page, and by…
-
2
votes1
answer114
viewsQ: Ajax query does not work
Well, a simple ajax, php and mysql query. This same code changed only by field name works normally on another page. $(document).ready(function(){ $('#email').keyup(function(){ var Email =…
-
2
votes2
answers1325
viewsQ: Sum decimal places Javascript
I have 3 Javascript variables: valorUm = 2.8 //dois ponto oito valorDois = 2.415 //dois mil quatrocentos e 15 valorLivre = 25 //vinte e cinco What I need is: valorUm + valorDois - valorLivre this…
-
0
votes1
answer2789
viewsQ: Font Awesome appear strange characters
Some font-awesome icons do not appear, others in place of icon appears 'Fl'. I’m using normally, <i class="fa fa-search"></i> Importing the css by…
-
2
votes1
answer218
viewsA: Recover Chosen Jquery value
Solved, Changing line 886 of Chosen.jquery.js. It is possible to recover the contents of the select with the variable, Terms. What I did was, take the value of Terms and go to the href of the link.…
-
2
votes1
answer218
viewsQ: Recover Chosen Jquery value
I have two Select Chosen in my form, what I’m doing is: That is, when typing if you can’t find anything related, I have the link 'insert item', which opens me a modal, until everything works. The…
-
-1
votes1
answer338
viewsQ: Varios Count in a Mysql sql
I have 2 tables, one called and another client, I need to return how many calls the client had in the current month, last month and last month, tried using Union, he returned me normally, but, I can…
-
1
votes2
answers956
viewsQ: Value Radio Button does not pass via php Post
Only two radio button. $faturamento_tipo_post = $_POST['faturamento_tipo']; if (isset($faturamento_tipo_post) && $faturamento_tipo_post == "cl") { $tipo_faturamento = 1; } elseif…
-
0
votes1
answer183
viewsA: Conflict called Google Maps
I managed to solve the map display problem, the problem now is: $(function () { $("#rota-1").on('shown.bs.modal', function () { google.maps.event.trigger(map, 'resize'); });…
-
0
votes1
answer183
viewsQ: Conflict called Google Maps
Well, on a page I call 3 modals of Bootstrap, each modal has a div with map inside, each map being clicked is created a Marker, and passed its address to a specific input text, each call with map…
-
3
votes2
answers2895
viewsQ: Recover Google Maps Address by informing Long and Lat
I have the latitude and longitude of a location in Google Maps, obtained from a marker and a function of its own, I would like to know if anyone has an idea or function to return me the full address…
-
1
votes0
answers347
viewsQ: Datatable Jquery load Tools after ajax
I have a jQuery datatable that has tools bar with .swf. When loading the page initially, the tools bar is displayed correctly, but I need to load the datatable when clicking a link, where it is…
-
0
votes1
answer39
views -
5
votes1
answer6281
viewsQ: Remove Part String Javascript Informing the End
I have the following javascript function: var opts = document.getElementById('id_endereco'); //localiza select var str = opts.options[opts.selectedIndex].innerText; //Pega text do option I need to…
javascriptasked sNniffer 1,009 -
1
votes1
answer286
viewsQ: Modal does not work after Load div
Well, my problem is, I have a function in an external file function lista_contas(id) { var url = 'lista_dados.php'; var method = 'POST'; var params = 'id='+id; params +=…
-
1
votes1
answer959
views