Skip to content

Instantly share code, notes, and snippets.

@chadhutchins
Created October 4, 2012 19:49
Show Gist options
  • Save chadhutchins/3835957 to your computer and use it in GitHub Desktop.
Save chadhutchins/3835957 to your computer and use it in GitHub Desktop.
<?php
class Break_AjaxUI
{
static $first = false;
function echo_something($bean,$event,$arguments)
{
// echo something once
if (!self::$first)
{
echo "<script>alert('echo echo echo');</script>";
}
self::$first = true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment