-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.js
More file actions
39 lines (33 loc) · 1.03 KB
/
Copy pathdemo.js
File metadata and controls
39 lines (33 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*window.onload = function(){
alert(document.getElementById('box').innerHTML);
alert(document.getElementsByName('sex')[0].value);
alert(document.getElementsByTagName('p')[0].innerHTML);
};
window.onload = function(){
//alert($('box').innerHTML);
alert(Base.getId('box').innerHTML);
alert(Base.getName('sex')[0].value);
alert(Base.getTag('p')[0].innerHTML);
//var base = new Base();
/*base.getId('box').css('color','red').css('backgroundColor','black').html('pox').click(function(){
alert('a');
});
//base.getTag('p').css('color','blue').css('backgroundColor','yellow');
$().getId('box').css('color','red').css('backgroundColor','black').html('pox').click(function(){
alert('a');
});
//$().getTag('p').css('color','blue').css('backgroundColor','yellow');
$().getClass('a','aaa').css('color','pink');
//$().addRule(0,'body','background:red',0);
}
*/
/*
window.onload = function(){
$().getClass('member').hover(function(){
$().getTag('ul').show();
},function(){
$().getTag('ul').hide();
});
}*/
window.onload = function(){
}