File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 10
10
< script type ="text/javascript ">
11
11
$ ( document ) . ready ( function ( ) {
12
12
$ ( 'p.hide' ) . show ( ) ;
13
- $ ( '#v' ) . append ( $ . fn . jquery ) ;
13
+ $ ( '#v' ) . text ( $ . fn . jquery ) ;
14
14
} ) ;
15
15
</ script >
16
16
</ head >
Original file line number Diff line number Diff line change 10
10
< script type ="text/javascript ">
11
11
window . addEvent ( 'domready' , function ( ) {
12
12
$$ ( 'p.hide' ) . setStyle ( 'display' , 'block' ) ;
13
+ $ ( 'v' ) . set ( 'text' , MooTools . version ) ;
13
14
} ) ;
14
15
</ script >
15
16
</ head >
16
17
< body >
17
18
< h1 > MooTools Test</ h1 >
18
- < p class ="hide "> If you see this, MooTools is working.</ p >
19
+ < p class ="hide "> If you see this, MooTools < strong id =" v " > </ strong > is working.</ p >
19
20
</ body >
20
21
</ html >
Original file line number Diff line number Diff line change 10
10
< script type ="text/javascript ">
11
11
document . observe ( 'dom:loaded' , function ( ) {
12
12
$ ( 'showme' ) . removeClassName ( 'hide' ) ;
13
+ $ ( 'v' ) . textContent = Prototype . Version ;
13
14
} ) ;
14
15
</ script >
15
16
</ head >
16
17
< body >
17
18
< h1 > Prototype Test</ h1 >
18
- < p class ="hide " id ="showme "> If you see this, Prototype is working.</ p >
19
+ < p class ="hide " id ="showme "> If you see this, Prototype < strong id =" v " > </ strong > is working.</ p >
19
20
</ body >
20
21
</ html >
You can’t perform that action at this time.
0 commit comments