This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script> | |
<script> | |
// var query = A palavra de pesquisa, não sei onde a estás a ir buscar... | |
$.ajax( | |
{ | |
url: 'http://oteusite.qqcoisa.pt/response.php', | |
type: 'get', // -> $_GET no PHP | |
data: { | |
query: query // -> $_GET['query'] no PHP; |