jQuery Simple Example
HTML
<script src="https://dl.dropboxusercontent.com/u/8822377/pixi.js"></script>
<div class='cont'>
</div>
<input>
JavaScript
$(document).ready(function() {
this.renderer = PIXI.autoDetectRenderer(this.width, this.height);
this.renderer.backgroundColor = 0x00841A;
$('.cont').append(this.renderer.view);
this.renderer.view.setAttribute('tabindex', 0);
$(this.renderer.view).click(function() { this.focus(); console.log(document.activeElement); } );
});