Posts by rhundler • 111 points
14 posts
-
1
votes0
answers198
viewsQ: phpQuery Web Scraping Event
I want to get information from the website using phpQuery, but I’m still learning how to use. The information I want to get appears in a select but only after clicking it. Without clicking it…
-
0
votes1
answer122
viewsQ: file_get_contents($url) Error returned
Hello, I found a function here in the stack for a problem similar to mine but I’m having a problem. The function is: function file_get_contents_retry($url, $attemptsRemaining=3) { $content =…
-
1
votes1
answer336
viewsQ: Mysql Auto-increment conditional on a table column
Hello, I’m trying to create a vehicle table that looks like this with php and mysql: +----+-----------------+-------+--------+ | id | nome do veiculo | marca | codigo | | 1 | Gol | VW | 1 | | 2 |…
-
0
votes1
answer30
viewsQ: Wrong stored and displayed information
Hello, I have the following code: var marcas = { nome: '', fipeId: '' }; var marcasVet = []; var select; $.ajax({ dataType: "json", url: 'http://fipeapi.wipsites.com.br/carros/marcas', success:…
-
0
votes1
answer258
viewsQ: $. ajax locking the server
i am trying to make an app with phonegap and am having the following problem. As an example, I have the following function: function listar(){ var useremail = localStorage.getItem('email'); var…
-
1
votes0
answers63
viewsQ: Phonegap Push Notification + Additional PHP JAVASCRIPT information
Hello, I’m trying to use the following function to pass additional information to my app using phonegap and push notification. function sendGoogleCloudMessage( $data, $ids ) { // Insert real GCM API…
-
1
votes2
answers1370
viewsQ: Remove onclick attribute by Javascript
Good afternoon, I would like to know how to remove onClick from the input using the function itself that is in onClick. For example, in my case I have the following input: <input type="submit"…
-
0
votes1
answer37
viewsQ: Jquery Mobile - Resources
Hello, is it possible to use just a few jQuery Mobile features? I would like, for example, to use his "Transitions" only. Is it possible? If that’s how? Thank you!
-
0
votes1
answer662
viewsQ: Position scroll - Jquery - JS
Hello, I’m having trouble making a script in which I have the following structure Where the header and footer are fixed and the main has a scroll with the content. I would like to know how to get…
-
0
votes1
answer52
viewsQ: If script condition does not recognize returned value
Hello, I have following code: function addUser(value){ var adduser = value; var useremail = localStorage.getItem('email'); var userpassword = localStorage.getItem('password'); var acao =…
-
2
votes1
answer236
viewsQ: Show posted image Phonegap + PHP
Hello, I’m using the following code to upload the image of a phonegap app to a server : // Wait for PhoneGap to load document.addEventListener("deviceready", onDeviceReady, false); // PhoneGap is…
-
2
votes1
answer372
viewsQ: $. post return 2 values
I have following code: <script> $.post('http://localhost/app/user.php', {acao: acao}, function(retorna){ $("#demo").html(retorna); if(retorna == "sucesso") {faça x} }); </script> But in…
-
0
votes1
answer71
viewsQ: Post system - Tips
Hello, I’m looking to create a blog system for my site and I have an initial idea of how to do it, very basic. In basic, I would have one that will send the text of a <textarea> to the…
-
1
votes1
answer702
viewsQ: JQUERY - Send selected value to input value
i have following code: <script type="text/javascript"> $(function() { $("#search").keyup(function() { var pesquisa = $(this).val(); if (pesquisa != '') {…