-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (44 loc) · 1.16 KB
/
index.html
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
40
41
42
43
44
45
46
47
48
49
50
51
<!doctype html>
<html>
<head>
<meta charset="UTF-8"/>
<title>
test
</title>
</head>
<body>
<div id="main">
<p>
Noto de texto 1
</p>
<p class="n1">
Noto de texto 2
</p>
<p class="n1">
Noto de texto 3
</p>
<p class="n1">
Noto de texto 4
</p>
</div>
<button id="bt1" type="button">botoncio</button>
<script src="componente.js">
</script>
<script>
debugger;
var a = __;
onWindowReady(function(){
var bt = __("#bt1");
var ps = __(".n1");
var _b = __("body");
var main = __("#main");
ps.each(function(e, i, elems){
e.innerHTML = "<span>wena, cambio con numero " + i + "</span>";
});
main.css("background-color" , "#4488dd");
main.css("color", "#ffffff");
debugger;
});
</script>
</body>
</html>