<?php require_once('class.SJS.php'); $sjs = new SJS('test.js'); $sjs->Assign(); ?> <input type="button" onclick="hello_world();" value="1" />