Skip to content

Instantly share code, notes, and snippets.

@fixlr
Created March 18, 2010 15:53
Show Gist options
  • Save fixlr/336492 to your computer and use it in GitHub Desktop.
Save fixlr/336492 to your computer and use it in GitHub Desktop.
$search_scope_hits_jquery .= <<<HTML
<script type="text/javascript">
$.get("index.php?{$search_scope_hits_url}",
function(data){
document.getElementById('search_scope_hits_{$scope_name}').innerHTML = ' ('+ data + ')';
}
);
</script>
HTML;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment