Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
JavaScript Bible, Gold Edition part 162
Đang chuẩn bị liên kết để tải về tài liệu:
JavaScript Bible, Gold Edition part 162
Thảo Vân
56
10
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
JavaScript Bible, Gold Edition part 162. This book will bring programmers and non-technical professionals, including casual programmers and scripters, painlessly up to speed on all aspects of mastering JavaScript. Key topics include programming fundamentals, JavaScript language elements and how to use them effectively, and how to easily and efficiently add powerful new functionality to HTML documents and Java applets. | 1458 Part VI Appendixes INPUT TYPE text NAME convertor VALUE sample onChange upperMe this FORM BODY HTML For Listing 9-2 the button invokes a function that communicates with a different element in the form. Pass the form object. HTML HEAD TITLE Checkbox Inspector TITLE SCRIPT LANGUAGE JavaScript function inspectBox form if form.checkThis.checked alert The box is checked. else alertCThe box is not checked at the moment. SCRIPT HEAD BODY FORM INPUT TYPE checkbox NAME checkThis Check here BR INPUT TYPE button VALUE Inspect Box onClick inspectBox this.form FORM BODY HTML For Listing 9-3 again the button invokes a function that looks at other elements in the form. Pass the form object. HTML HEAD TITLE Extracting Highlighted Radio Button TITLE SCRIPT LANGUAGE JavaScript function fullName form for var i 0 i form.stooges.length i if form.stooges i .checked break alert You chose form.stooges i .value . SCRIPT HEAD BODY FORM B Select your favorite Stooge B INPUT TYPE radio NAME stooges VALUE Moe Howard CHECKED Moe Appendix C Answers to Tutorial Exercises 1459 INPUT TYPE radio NAME stooges VALUE Larry Fine Larry INPUT TYPE radio NAME stooges VALUE Curly Howard Curly BR INPUT TYPE button NAME Viewer VALUE View Full Name. onClick fullName this.form FORM BODY HTML For Listing 9-4 all action is triggered by and confined to the SELECT object. Pass only that object to the function. HTML HEAD TITLE Select Navigation TITLE SCRIPT LANGUAGE JavaScript function goThere list location list.options list.selectedIndex .value SCRIPT HEAD BODY FORM Choose a place to go SELECT NAME urlList onChange goThere this OPTION SELECTED VALUE index.html Home Page OPTION VALUE store.html Shop Our Store OPTION VALUE policies.html Shipping Policies OPTION VALUE http www.yahoo.com Search the Web SELECT FORM BODY HTML 2. This requires a bit of surgery. The Submit button is replaced with a standard button whose VALUE attribute is set to Submit. The button s onClick event handler calls the checkForm function .
TÀI LIỆU LIÊN QUAN
JavaScript Bible, Gold Edition part 215
JavaScript Bible, Gold Edition part 2
JavaScript Bible, Gold Edition part 3
JavaScript Bible, Gold Edition part 4
JavaScript Bible, Gold Edition part 5
JavaScript Bible, Gold Edition part 6
JavaScript Bible, Gold Edition part 7
JavaScript Bible, Gold Edition part 8
JavaScript Bible, Gold Edition part 9
JavaScript Bible, Gold Edition part 10
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.