1. Sub-page: parent page element parent.doc ument. getElementById (& amp; #39; id & amp; #39;) and document-related methods can be used in this way. 2. Access the child page element document on the parent page. getElementById (& amp; #39; iframeId &
A tab. When the mouse moves up, the red slider follows and is often used during the layout process. This article provides detailed implementation code. If you are interested, refer to the next one.
Move the mouse to the corresponding category, and
The content of this article is very simple, just a review of an unclear question encountered during the interview. as it was the first time I posted a document on cnblog, I installed the protection shield, do not throw bricks, kitchen knives, or
The marqueen in html can also implement content scrolling, but the scrolling is intermittent. Using JavaScript can improve this problem and achieve uninterrupted scrolling, to make the page look more beautiful, the marqueen in html can also
What is the difference between a DOM object and a jquery object?
A deep understanding of the differences between jQuery objects and common DOM objects. Mutual conversion: Q1Q1, js Writing Method: document. getElementById ('save'). disabled = true;In
The core idea of jQuery can be simply summarized as "querying and operating the dom". Today we mainly analyze jQuery. prototype. the init selector constructor can process parameters in the selector. If you are interested, you can understand the
There are many ways to change CSS and element attributes. This article will show you how to use JavaScript to change the HTML style. If you are interested, you can change the HTML style.
To change the style of HTML elements, use this syntax:
JS format the numeric amount with only two decimal places. A Formatting Function is written. The number of decimal places can be controlled, and the number is automatically rounded down. Interested friends can learn about the following:
12345 format
JQuery learning notes (1): getting started with jquery learning notes
Due to work needs, I found JQuery is an unavoidable thing. Now I start to learn.
I. What is JQuery?
What is JQuery? It is always a problem in my heart:
Learn from the summary of
This article describes how to use javascript to obtain the selected text. For more information, see
The Code is as follows:
New document
the fish in the river died unexpectedly, and the downstream residents were frequently infected with strange
JQuery: from ignorance to ignoranceNote:
This article organizes important jQuery knowledge points in the form of Reading Notes, which are concise and simple and fascinating.
This article first introduces jQuery's powerful functions, and then
There should be no stranger to jquery's web developers. Next we will talk about the implementation code that uses js to imitate jquery's writing. If you are interested, refer to the following, I hope to help you test the Code:
The Code is as
The iframe height must be adjusted based on the actual height of the sub-page. But what if the sub-page is not in the same domain? At this time, the script cannot get the height of the sub-page, and there is a JavaScript cross-domain problem. Using
Automatic or manual switching of images will surely be seen in many places. This article will introduce the focus chart switching implemented by using native javascript. If you are interested, refer to the next section,
Ii. html code
The Code is
I spoke about anonymous functions when I organized the javascript introductory training PPT today.
Writing anonymous FunctionsAs the name suggests, it is a function without a name (⊙ ﹏ ⊙ B Khan ). Anonymous functions are usually used to control
Ajax + smarty technology to achieve no additional paging, ajaxsmarty
The Smarty template is used here to make it easier
The main technologies in this article are AJAX, PHP, and Smarty. In addition, they encapsulate a very simple
The attributes and methods of DOM and XMLHttpRequest objects are organized. Note that it is convenient for ajax users to perform standard XMLHttpRequest operations.
Method
Description
Abort ()
Stop current request
Description of the property and attribute in JavaScript. For more information, see. First, let's take a look at the English meaning of these two words (from youdao dictionary ). First, property:
The Code is as follows:
Property ['pr ɔ p ti]N.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.