Another attempt to fix the getScript problem

This commit is contained in:
Jörn Zaefferer 2006-11-21 09:55:34 +00:00
parent 953bf593a6
commit ae58d24fd5
4 changed files with 22 additions and 28 deletions

View file

@ -18,5 +18,5 @@ if($name == 'foo') {
echo "pan";
die();
}
echo "ERROR";
echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>';
?>

View file

@ -1,6 +1,7 @@
html text<br/>
<script type="text/javascript">/* <![CDATA[ */
foo = "foo"; $('#foo').html('foo');
testFoo = "foo"; $('#foo').html('foo');
ok( true, "test.html executed" );
/* ]]> */</script>
<script src="data/test.js"></script>
blabla