5 BT ĐXC P2

4 132 0
5 BT ĐXC P2

Đang tải... (xem toàn văn)

Thông tin tài liệu

1.2 Language Features 3 The old object model not only led to the afore-mentioned problems, but also to fundamental problems that prevented implementing some additional features on top of the existing object model. In PHP 5, the infrastructure of the object model was rewritten to work with object handles. Unless you explicitly clone an object by using the clone keyword, you never create behind-the-scenes duplicates of your objects. In PHP 5, you don’t need a need to pass objects by reference or assign them by reference. Note: Passing by reference and assigning by reference are still sup- ported, in case you want to actually change a variable’s content (whether object or other type). 1.2.2 New Object-Oriented Features The new OO features are too numerous to give a detailed description in this section. Chapter 3, “PHP 5 OO Language,” details each feature. The following list provides the main new features: ☞ public / private / protected access modifiers for methods and properties. Allows the use of common OO access modifiers to control access to methods and properties: class MyClass { private $id = 18; public function getId() { return $this->id; } } ☞ Unified constructor name __construct() . Instead of the constructor being the name of the class, it is now declared as __construct() , which makes it easier to shift classes inside class hier- archies: class MyClass { function __construct() { print "Inside constructor"; } } ☞ Object destructor support by defining a __destructor() method. Allows defining a destructor function that runs when an object is destroyed: class MyClass { function __destruct() { print ”Destroying object”; } } Gutmans_Ch01 Page 3 Thursday, September 23, 2004 2:35 PM 4 What Is New in PHP 5? Chap. 1 ☞ Interfaces. Gives the ability for a class to fulfill more than one is-a relationships. A class can inherit only from one class, but may implement as many interfaces as it wants: interface Display { function display(); } class Circle implements Display { function display() { print "Displaying circle\n"; } } ☞ instanceof operator. Language-level support for is-a relationship checking. The PHP 4 is_a() function is now deprecated: if ($obj instanceof Circle) { print '$obj is a Circle'; } ☞ Final methods. The final keyword allows you to mark methods so that an inheriting class cannot overload them: class MyClass { final function getBaseClassName() { return __CLASS__; } } ☞ Final classes. After declaring a class as final , it cannot be inherited. The following example would error out. final class FinalClass { } class BogusClass extends FinalClass { } ☞ Explicit object cloning. To clone an object, you must use the clone keyword. You may declare a __clone() method, which will be called during the clone process (after the properties have been copied from the original object): Gutmans_Ch01 Page 4 Thursday, September 23, 2004 2:35 PM 1.2 Language Features 5 class MyClass { function __clone() { print "Object is being cloned"; } } $obj = new MyClass(); $obj_copy = clone $obj; ☞ Class constants. Class definitions can now include constant values and are referenced using the class: class MyClass { const SUCCESS = "Success"; const FAILURE = "Failure"; } print MyClass::SUCCESS; ☞ Static methods. You can now define methods as static by allowing them to be called from non-object context. Static methods do not define the $this variable because they are not bound to any specific object: class MyClass { static function helloWorld() { print "Hello, world"; } } MyClass::helloWorld(); ☞ Static members. Class definitions can now include static members (properties) that are accessible via the class. Common usage of static members is in the Singleton pattern: class Singleton { static private $instance = NULL; private function __construct() { } static public function getInstance() { if (self::$instance == NULL) { self::$instance = new MỘT SỐ BÀI TẬP PHẦN ĐIỆN XOAY CHIỀU P2 Câu 6: Một đoạn mạch gồm cuộn cảm có độ tự cảm L điện trở r mắc nối tiếp với tụ điện có điện dung C thay đổi Đặt vào hai đầu mạch hiệu điện xoay chiều có giá trị hiệu dụng U tần số f không đổi Khi điều chỉnh để điện dung tụ điện có giá trị C=C điện áp hiệu dụng hai đầu tụ điện hai đầu cuộn cảm có giá trị U, cường độ dòng điện mạch có biểu thức π  i1 = 6cos 100π t + ÷( A) Khi điều chỉnh để điện dung tụ điện có giá trị C=C điện áp hiệu dụng 4  hai tụ điện đạt giá trị cực đại Cường độ dòng điện tức thời mạch có biểu thức 5π  π   A i2 = 2cos 100π t + B i2 = 2cos 100π t + ÷( A) ÷( A) 12  3   5π  π   C i2 = 3cos 100π t + D i2 = 3cos 100π t + ÷( A) ÷( A) 12  3   Giải: Khi C = C1 UD = UC = U -> Zd = ZC1 = Z1 Zd = Z1 -> r + ( Z L − Z C1 ) = r + Z L2 > ZL – ZC1 = ± ZL -> ZL = Zd = ZC1 -> r2 +ZL2 = ZC!2 ->r2 = tanϕ1 = Z L − Z C1 r 3Z C21 -> r = Z C1 (1) 3Z C21 (2) Z C1 − Z C1 π = =− > ϕ1 = 3 Z C1 r + Z L2 Z C21 = = 2Z C1 Khi C = C2 UC = UCmax ZC2 = Z L Z C1 Zc Khi Z2 = r + ( Z L − Z C ) = Z C1 + ( − Z C1 ) = 3Z C21 = 3Z C1 Z C1 − Z C1 Z L − ZC2 π = = − > ϕ2 = tanϕ2 = r 3 Z C1 Z I = (A) U = I1Z1 = I2Z2 -> I2 = I1 = = Z2 3 Cường độ dòng điện qua mạch π π π 5π cos(100πt + − + ) cos(100πt + ) =2 12 (A) i = I2 Chọ đáp án A Câu Đặt điện áp u = U0 cos ωt ( U0 không đổi, ω thay đổi được) váo đầu đoạn mạch gồm R, L, C mắc nối tiếp thỏa mãn điều kiện CR2 < 2L Gọi V1,V2, V3 vôn kế mắc vào đầu R, L, C Khi tăng dần tần số thấy vôn kế có giá trị cực đại, thứ tự vôn kế giá trị cực đại tăng dần tần số A V1, V2, V3 B V3, V2, V1 C V3, V1, V2 D V1, V3,V2 Giải: Ta gọi số vôn kế U UR U1=IR = R + (ωL − ) ωC U1 = U1max mạch có cộng hưởng điện: -> = UωL U2 = IZL = R + (ωL − ) ωC UL = R + ω L2 + L −2 C ω C LC = (1) U y 22 ω2 R2 − L C + L2 có giá trị cực tiểu y2min U2 = U2max y2 = 1 + C2 ω4 ω2 1 C L Đặt x = , Lấy đạo hàm y2 theo x, cho y2’ = ->x = = (2 − CR ) C ω ω 2 ω 22 = L (2) 2 = C (2 − R ) C ( L − CR ) C U U U = = U3 = IZC = y3 L ωC R + (ωL − ) C ω ( R + ω L2 + 2 − ) ωC C ω C L U3 = U3max y3 = L2ω4 +(R2 -2 )ω2 + có giá trị cực tiểu y3min C C Đặt y = ω , Lấy đạo hàm y3 theo y, cho y’3 = L − R2 R2 y=ω = C = − LC L2 L2 R2 − ω3 = (3) LC L2 So sánh (1); (2), (3): Do CR2 < 2L nên 2L – CR2 > 1 R2 − < ω12 = Từ (1) (3) ω3 = LC LC L CR 2 L − (2 L − CR ) = Xét hiệu ω22 - ω12 = = >0 C (2 L − CR ) LC LC (2 L − R ) LC (2 L − R ) Do ω22 = > ω12 = C (2 L − CR ) LC 2 1 R − < ω12 = Tóm lai ta có ω32 = < ω22 = C (2 L − CR ) LC LC L Khi tăng dần tần số vôn kế số cực đại V3, V1 V2 Chọn đáp án C Câu Đoạn mạch xoay chiều AB gồm điện trở R nối tiếp cuộn dây cảm có L thay đổi được, điện áp hai đầu cuộn cảm đo vôn kế có điện trở lớn Khi L = L vôn kế V1, độ lệch pha điện áp hai đầu đoạn mạch với dòng điện ϕ1, công suất mạch P1 Khi L = L2 vôn kế V2, độ lệch pha điện áp hai đầu đoạn mạch dòng điện ϕ2, công suất mạch P2 Biết ϕ1 + ϕ2 = π/2 V1 = 2V2 Tỉ số P2/P1 là: A B C D Giải: Z L1 Z ; tanϕ2 = L2 ; Do ϕ1 + ϕ2 = π/2 -> tanϕ1 = cotanϕ2 = tan ϕ R R Suy R = ZL1ZL2 Gọi U điện áp hiệu dụng đặt vào hai đầu đoạn mạch U U U = I1 = Z = 2 R + Z L1 Z L1 ( Z L + Z L1 ) tanϕ1 = U I2 = Z = U1 = I1ZL1 = U R + Z L21 = U Z L ( Z L + Z L1 ) UZ L1 Z L1 ( Z L1 + Z L1 ) UZ L U2 = I2ZL2 = Z L ( Z L1 + Z L1 ) U1 = 2U2 -> Z L1 = Z L > ZL1 = 4ZL2 P1 = I12 R P2 = I22 R P1 I 12 Z L = = = > P2 = 4P1 Đáp án A P2 I 22 Z L1 Câu : Cho đoạn mạch AB gồm hai đoạn mạch AM nt với MB Biết đoạn AM gồm R nt với C MB có cuộn cảm có độ tự cảm L điện trở r Đặt vào AB điện áp xoay chiều u = U cosωt (v) Biết R = r L , điện áp hiệu dụng hai đầu MB lớn gấp n = C mạch có giá trị A 0,866 B 0,975 C 0,755 D.0,887 = Giải: Vẽ giản đồ véc tơ hình vẽ Từ điện áp hai đầu AM Hệ số công suất đoạn UL UMB P U E L -> C R=r= R2 = r2 = ZL.ZC L (Vì ZL = ωL; ZC = > ZL.ZC = ) ωC C 2 2 2 U AM = U R + U C = I (R +ZC ) O UC ϕ F Q UAM U = U + U = I (r + Z ) = I (R + Z ) Xét tam giác OPQ PQ = UL + UC PQ2 = (UL + UC )2 = I2(ZL +ZC)2 = I2(ZL2 +ZC2 +2ZLZC) = I2 (ZL2 +ZC2 +2R2) (1) 2 2 2 2 OP2 + OQ2 = U AM + U MB = 2U R + U L + U C = I (2 R + Z L + Z C ) (2) Từ (1) (2) ta thấy PQ2 = OP2 + OQ2 > tam giác OPQ vuông O Từ UMB = nUAM = UAM U AM = tan(∠POE) = > ∠POE = 300 Tứ giác OPEQ hình chữ nhật U MB ∠OQE = 600 > ∠QOE = 300 Do góc lệch pha u i mạch: ϕ = 900 – 600 = 300 MB r L 2 L 2 L = 0,866 Chọn đáp án A Câu 10 Một máy biến áp lí tưởng có hiệu suất nối vào nguồn điện xoay chiều có điện áp hiệu dụng 5V Biết số vòng dây cuộn sơ cấp thứ cấp 100vong 150 vòng Do cuộn sơ cấp có 10 vòng bị quấn ngược nên điện áp thu cuộn thứ cấp là: A 7,5V B 9,37 V C 8,33V D 7,78V Vì cosϕ = cos300 = Giải: Gọi e0 suất điện động cảm ứng tức thời xuất vòng dây biến áp nối vào nguồn điện xoay chiều Suất điện đông tức thời xuất cuộn sơ cấp thứ cấp e1 = (N1 – 10)e0 – 10e0 = 80e0 e2 = N2e0 = 150e0 e1 E1 E U 80 80 150.5 = = ⇒ = = ⇒ U2 = = 9,375V Chọn đáp án B > e2 E 150 E U 150 80 Bài 1: Cuộn dây không thuần cảm có 100 ; 100 3 L r Z= Ω = Ω mắc nối tiếp với mạch điện X gồm 2 trong 3 phần tử Rx, Lx, Cx. Đặt vào hai đầu mạch một hiệu điện thế xoay chiều thấy rằng sau khi hiệu điện thế trên cuộn dây đạt cực đại thì 1/12 chu kỳ sau hiệu điện thế trên hộp X đạt cực đại. Hộp X gồm những phần từ nào, tỉ số giữa các điện trở( dung kháng, cảm kháng, điện trở thuần của hộp X) của chúng bằng bao nhiêu? Bài 2: Đặt một điện áp xoay chiều có giá trị hiệu dụng 100 3U V= vào hai đầu đoạn mạch RLC mắc nối tiếp có L thay đổi. Khi điện áp hiệu dụng hai đầu L cực đại thì điện áp hai đầu tụ là 200V. Tính maxL U ? Bài 1: Gọi cường độ dòng điện trong mạch: 0 osi I C t ω = Khi đó, hiệu điện thế hai đầu cuộn dây: 0 os 3 cd cd u U C t π ω   = +  ÷   Đk về hiệu điện thế cực đại cho thấy hiệu điện thế trên hộp X trễ pha hơn trên cuộn dây 1/12 chu kỳ Hiệu điện thế trên hộp X: 0 0 0 1 os os 12 3 6 3 os 6 X X X X u U C t T U C t U C t π π π ω ω π ω       = − + = − +  ÷             = +      X gồm điện trở thuần R và cuộn cảm L 3 tan 3 L X Z R ϕ = = Bài 2: L thay đổi để maxL U ta có: 2 2 2 2 2 2 2 2 2 2 2 max ( ) 200 30000 0 300 C R C L L R L C C C C R L C L L C L L L R Z U U Z U U U U U Z U U U U U U U U U U U V + + = ⇒ = ⇒ = − = + − = − ⇔ − − = ⇒ = Giáo án lớp ghép 4 + 5 trường THCS Hoàng Văn Thụ Tuần 30: từ 05/04 đến 09/04/ 2010 Gv: Trịnh Công Toán Nhóm 4 Nhóm 5 Thứ ngày Môn Tên bài dạy Môn Tên bài dạy Thứ 2 CC CC TĐ Hơn một nghìn ngày vòng quay trái đất T Ôn tập về đo diện tích T Luyện tập chung TĐ Thuần phục sư tử ĐĐ Bảo vệ môi trường LS Xây dựng nhà máy thủy điện Hòa Bình LS Những chính sách về kinh tế và văn hóa của vua Quang Trung ĐĐ Bảo vệ tài nguyên thiên nhiên Thứ 3 TD TD T Tỉ lệ bản đồ LTVC MRVT: Nam và nữ CT Nhớ - viết: Đường đi Sapa T Ôn tập về đo thể tích LTVC MRVT: Du lịch – thám hiểm KH Sự sinh sản của thú KH Nhu cầu chất khoáng của thực vật ĐL Các đại dương trên thế giới Thứ 4 TĐ Dòng sông mặc áo T Ôn tập về đo diện tích và đo thể tích T Ứng dụng của tỉ lệ bản đồ TĐ Tà áo dài Việt Nam ĐL Thành phố Huế TLV Ôn tập về tả con vật MT MT ÂN ÂN Thứ 5 TD TD T Ứng dụng của tỉ lệ bản đồ (tt) CT Nghe – viết: cô gái của tương lai TLV Luyện tập quan sát con vật LTVC Ôn tập về dấu câu (dấu phẩy) LTVC Câu cảm T Ôn tập về đo thời gian KT Lắp xe nôi KT Lắp rô bốt Thứ 6 T Thực hành TLV Tả con vật (kiểm tra viết) TLV Điền vào giấy tờ in sẵn T Phép cộng KC Kể chuyện đã nghe đã đọc KH Sự nuôi và dạy con của một số loài thú KH Nhu cầu không khí của thực vật KC Kể chuyện đã nghe đã đọc SHL Nhận xét cuối tuần SHL Nhận xét cuối tuần Thứ 2 Nhóm 4 Nhóm 5 Tập đọc: HƠN MỘT NGHÌN NGÀY VỊNG QUANH TRÁI ĐẤT I.Mục tiêu: - Biết đọc diễn cảm một đoạn trong bài với giọng tự hào, ca ngợi. - Hiểu ND, ý nghĩa: Ca ngợi Ma-gien-lăng và đồn thám hiểm đã dũng cảm vượt bao khó khăn, hi sinh, mất mát để hồn thành sứ mạng lịch sử: khẳng định trái đất hình cầu, phát hiện Thái Bình Dương và những vùng đất mới (trả lời được các câu hỏi 1,2,3,4 trong SGK). - GDHS thêm u đất nước, học hỏi được nhiều điều thú vị qua bài đã học. II. Ph ương tiện: - Gv: bảng phụ, phiếu học tập - HS: Chuẩn bị bài trước III. Các hoạt động dạy học: 1. Khởi động: hát tập thể 2. Kiểm tra bài cũ: - Gọi hs đọc bài và trả lời câu hỏi của bài trước. - Gv và hs nhận xét. 3. Bài mới: *Giới thiệu bài: Hơn một nghìn ngày… . HĐ1 :Hướng dẫn luyện đọc: - Gọi hs đọc nối tiếp 6 đoạn văn, gv chú ý theo dõi, chữa cách phát âm cho hs ở những từ khó. - Kết hợp hướng dẫn hs xem tranh và giải thích một số từ khó ở cuối bài. - Cho hs luyện đọc theo cặp. - Gọi 1 hs đọc cả bài. - Gv đọc diễn cảm tồn bài giọng rõ ràng, chậm rãi, cảm hứng ca ngợi , nhấn giọng ở các từ ngữ : khám phá, mênh mơng, bát ngát, chẳng thấy bờ, bỏ mình, khẳng định, phát hiện,… 2.HĐ 2: Tìm hiểu bài - Gợi ý một số câu hỏi cho hs tìm hiểu bài +Ma- gien-lăng thực hiện cuộc thám hiểm với mục đích gì? +Đồn thám hiểm đã gặp những khó khăn gì dọc đường? +Hạm đội của Ma-gien-lăng đã đi theo hành trình nào? +Đồn thám hiểm đã đạt được những kết quả gì? + Câu chuyện giúp em hiểu gì về những nhà thám hiểm? TỐN: ƠN TẬP VỀ ĐO ĐỘ DIỆN TÍCH I. Mục tiêu: BiÕt: - Quan hƯ gi÷a c¸c ®¬n vÞ ®o diƯn tÝch; chun ®ỉi c¸c ®¬n vÞ ®o diƯn tÝch (víi c¸c ®¬n vÞ ®o th«ng dơng). - ViÕt sè ®o diªn tÝch díi d¹ng sè thËp ph©n. - GDHS tính cẩn thận chính xác trong học tốn II. Ph ương tiện: - Gv: bảng phụ, phiếu học tập - HS: Chuẩn bị bài trước III. Các hoạt động dạy học: 1. Khởi động: hát tập thể 2. Kiểm tra bài cũ: - Nhóm trưởng kiểm tra đồ dùng học tập của các bạn. 3. Bài mới:  Giới thiệu bài mới: Ôn tập về đo diện tích.  Hoạt động 1: Đọc bảng đơn vò đo diện tích. Bài 1: - Đọc đề bài. - Thực hiện. - Giáo viên và hs nhận xét - Hs TLCH vào phiếu - Gợi ý cho hs nêu được nội dung bài. - Nhận xét, đánh giá 3. HĐ 3: Luyện đọc diễn cảm - Cho hs luyện đọc diễn cảm 6 đoạn văn. - Hs luyện đọc theo cặp - Cho hs thi đọc diễn cảm theo nhóm. - Cho hs trình bày trước lớp. - Nhận xét đánh giá chung. 4. Củng cố, dặn dò: - Nhận xét tiết Chapter 5: Advanced Features-P2 Another option would be to insert a <%filter> block directly into the source of the top_menu method. However, the method may be defined in many different places; the whole point of using a method instead of a regular component call is that any component may redefine the method as it chooses. So we'd end up adding the same filter block to every definition of the top_menu method. That's a pretty poor solution. What we really want is a solution that allows us to write the code once but apply it to only the portion of the output that we choose. Of course, there is such a thing called a "component call with content," introduced in Mason Version 1.10. It looks just like a regular <& &> component call, except that there's an extra pipe (|) character to distinguish it and a corresponding end tag, </&>. Using a component call with content, we can apply the desired filter to just the menu of links: <html> <head> <title><& SELF:title &></title> </head> <body> <&| .top_menu_filter &> <& SELF:top_menu, %ARGS &> </&> % $m->call_next; </body> </html> So the .top_menu_filter component -- presumably a subcomponent defined in the same file -- is somehow being passed the output from the call to <& SELF:top_menu,%ARGS &>. The .top_menu_filter component would look something like this: <%def .top_menu_filter> % my $text = $m->content; % my $uri = $r->uri; % $text =~ s,<a href="\Q$uri\E[^"]*">([^<]+)</a>,<b>$1</b>,; <% $text %> </%def> This looks more or less like any other <%filter> block, but with two main differences. First, the body of a <%filter> block contains plain Perl code, but since .top_menu_filter is a subcomponent, it contains Mason code. Second, we access the text to filter via a call to $m- >content instead of in the $_ variable. The $m->content() method returns the evaluated output of the content block, which in this case is the output of the SELF:top_menu component. Mason goes through some contortions in order to trick the wrapped portion of the component into thinking that it is still in the original component. If we had a component named bob.html , as shown in the example below: <&| .uc &> I am in <% $m->current_comp->name %> </&> <%def .uc> <% uc $m->content %> </%def> we would expect the output to be: I AM IN BOB.HTML And indeed, that is what will happen. You can also nest these sorts of calls: <&| .ucfirst &> <&| .reverse &> I am in <% $m->current_comp->name %> </&> </&> <%def .reverse> <% scalar reverse $m->content %> </%def> <%def .ucfirst> <% join ' ', map {ucfirst} split / /, $m->content %> </%def> This produces: Lmth.bob Ni Ma I As you can see, the filtering components are called from innermost to outermost. It may have already occurred to you, but this can actually be used to implement something in Mason that looks a lot like Java Server Page taglibs. Without commenting on whether the taglib concept is conducive to effective site management or not, we'll show you how to create a similar effect in Mason. Here's a simple SQL select expressed in something like a taglib style: <table> <tr> <th>Name</th> <th>Age</th> </tr> <&| /sql/select, query => 'SELECT name, age FROM User' &> <tr> <td>%name</td> <td>%age</td> </tr> </&> </table> The idea is that the query Chapter 5. Scripting Mozilla- P2 Figure 5-2. Toggling the state of menu items in xFly The following section explains more about hooking scripts up to the interface. Needless to say, when you use a method like getElementsByAttribute that operates on all elements with a particular attribute value, you must be careful not to grab elements you didn't intend (like a button elsewhere in the application that gets disabled for other purpose). Notes [1] You can use other DOM methods, but these methods are most commonly used in the XPFE. Mozilla's support for the DOM is so thorough that you can use the W3C specifications as a list of methods and properties available to you in the chrome and in the web content the browser displays. The full W3C activity pages, including links to the specifications implemented by Mozilla, can be found at http://www.w3.org/DOM/. 5.3. Adding Scripts to the UI Once you are comfortable with how JavaScript works in the context of the user interface layer and are familiar with some of the primary DOM methods used to manipulate the various elements and attributes, you can add your own scripts to your application. Though you can use other techniques to get scripts into the UI, one of the most common methods is to use Mozilla's event model, which is described in the next few sections. 5.3.1. Handling Events from a XUL Element Events are input messages that pass information from the user interface to the application code. Capturing this information, or event handling, is how you usually tell scripts when to start and stop. When the user clicks a XUL button, for instance, the button "listens" for the click event, and may also handle that event. If the button itself does not handle the event (e.g., by supplying executable JavaScript in an event handler attribute), then the event "bubbles," or travels further up into the hierarchy of elements above the button. The event handlers in Example 5-3 use simple inline JavaScript to show that the given event (e.g., the window loading in the first example, the button getting clicked in the second, and so on) was fired and handled. As in HTML, predefined event handlers are available as attributes on a XUL element. These attributes are entry points where you can hook in your JavaScript code, as these examples show. Note that event handler attributes are technically a shortcut, for which the alternative is to register event listeners explicitly to specified elements. The value of these on[event] event handler attributes is the inline JavaScript that should be executed when that event is triggered. Example 5-5 shows some basic button activation events. Example 5-5. Basic event handler attributes <window onload="dump('this window has loaded\n');" /> <button label="onclick-test" onclick="dump('The event handler onclick has just been used\n');" /> <button label="oncommand-test" oncommand="dump('The event handler oncommand has just been used\n');" /> <menulist id="custom" onchange="doMyCustomFunction( );" /> While the window and button events in Example 5-5 carry out some inline script, there is a variation with the onchange handler attached to the menulist element. onchange contains a JavaScript function call whose definition may live in the XUL document itself or in an external file that is included by using the src attribute on a script element: <script type="application/x-javascript" src="chrome://mypackage/content/myfile.js" /> A large basic set of event handler attributes is available for use on XUL elements (and HTML elements). Appendix C has a full listing of these events along with explanations. The following subset shows the potential for script interaction when the UI uses event handlers: onabort onblur onerror onfocus

Ngày đăng: 15/06/2016, 11:37

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan