ajax tests: Replaced $ with jQuery.
This commit is contained in:
parent
1e9593646f
commit
24eb176f0c
|
@ -1,6 +1,6 @@
|
||||||
html text<br/>
|
html text<br/>
|
||||||
<script type="text/javascript">/* <![CDATA[ */
|
<script type="text/javascript">/* <![CDATA[ */
|
||||||
testFoo = "foo"; $('#foo').html('foo');
|
testFoo = "foo"; jQuery('#foo').html('foo');
|
||||||
ok( true, "test.html executed" );
|
ok( true, "test.html executed" );
|
||||||
/* ]]> */</script>
|
/* ]]> */</script>
|
||||||
<script src="data/test.js"></script>
|
<script src="data/test.js"></script>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
var foobar = "bar";
|
var foobar = "bar";
|
||||||
$('#ap').html('bar');
|
jQuery('#ap').html('bar');
|
||||||
ok( true, "test.js executed");
|
ok( true, "test.js executed");
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
html text<br/>
|
html text<br/>
|
||||||
<script type="text/javascript">/* <![CDATA[ */
|
<script type="text/javascript">/* <![CDATA[ */
|
||||||
testFoo = "foo"; $('#foo').html('foo');
|
testFoo = "foo"; jQuery('#foo').html('foo');
|
||||||
ok( true, "test.php executed" );
|
ok( true, "test.php executed" );
|
||||||
/* ]]> */</script>
|
/* ]]> */</script>
|
||||||
<script src="data/test.js?<?php srand(); echo time() . '' . rand(); ?>"></script>
|
<script src="data/test.js?<?php srand(); echo time() . '' . rand(); ?>"></script>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var testFoo = "foo";
|
var testFoo = "foo";
|
||||||
$('#foo').html('foo');
|
jQuery('#foo').html('foo');
|
||||||
ok( true, "test2.html executed" );
|
ok( true, "test2.html executed" );
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue