Skip to content

Instantly share code, notes, and snippets.

@pentium10
Created June 13, 2011 11:00
Show Gist options
  • Save pentium10/1022602 to your computer and use it in GitHub Desktop.
Save pentium10/1022602 to your computer and use it in GitHub Desktop.
$script1 = <<<HTMLDOC
$(document).ready(function() {
$('#linkid').click();
});
HTMLDOC;
Yii::app()->clientScript->registerScript(__FILE__ . '1', $script1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment