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
Publishing AJAX and PHP - part 19
Đang chuẩn bị liên kết để tải về tài liệu:
Publishing AJAX and PHP - part 19
Kim Khuyên
86
10
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
AJAX Suggest and Autocomplete crtLink = crtLink.replace("-", "_"); crtLink = crtLink.substring(0, crtLink.length - 4); // update the keyword's value oKeyword.value = unescape(crtLink.substring(phpHelpUrl.length, crtLink.length)); } /* function that removes the style from all suggestions*/ function deselectAll() { for(i=0; i | AJAX Suggest and Autocomplete crtLink crtLink.replace - _ crtLink crtLink.substring 0 crtLink.length - 4 update the keyword s value oKeyword.value unescape crtLink.substring phpHelpUrl.length crtLink.length function that removes the style from all suggestions function deselectAll for i 0 i suggestions i var oCrtTr document.getElementByld tr i oCrtTr.className function that handles the mouse entering over a suggestion s area event function handleOnMouseOver oTr desel ectAl l oTr.className highlightrow position oTr.id.substring 2 oTr.id.length function that handles the mouse exiting a suggestion s area event function handleOnMouseOut oTr oTr.className position -1 function that escapes a string function encode uri if encodeURlComponent return encodeURlComponent uri if escape return escape uri function that hides the layer containing the suggestions function hideSuggestions var oScroll document.getElementByld scroll oScroll.style.visibility hidden function that selects a range in the text object passed as parameter function selectRange oText start length check to see if in IE or FF if oText.createTextRange IE var oRange oText.createTextRange oRange.moveStart character start oRange.moveEnd character length - oText.value.length oRange.select 180 Chapter 6 el se FF if oText.setSelectionRange oText.setSelectionRange start length oText .focus function that autocompletes the typed keyword function autocompleteKeyword retrieve the keyword object var oKeyword document.getElementByld keyword reset the position of the selected suggestion position 0 deselect all suggestions desel ectAl l highlight the selected suggestion document.getElementByld trO .className hi ghlightrow update the keyword s value with the suggestion updateKeywordValue document.getElementByld trO apply the type-ahead style selectRange oKeyword httpRequestKeyword.length oKeyword.value.length set the autocompleted word to the keyword s value autocompletedKeyword oKeyword.value function that displays an error .
TÀI LIỆU LIÊN QUAN
Publishing AJAX and PHP - part 26
Publishing AJAX and PHP - part 1
Publishing AJAX and PHP - part 2
Publishing AJAX and PHP - part 3
Publishing AJAX and PHP - part 4
Publishing AJAX and PHP - part 5
Publishing AJAX and PHP - part 6
Publishing AJAX and PHP - part 7
Publishing AJAX and PHP - part 8
Publishing AJAX and PHP - part 9
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.