I used to think css is not so powerful. Today I suddenly found out...
Cough .. Cough ..
Which of the following is tested? ^_^
Of course it is not so comprehensive. Please give your comments!
OK,
~ (W3c China not found)
Role:
For example:
1
To enable this function today, you can assign a value to the input form when the check box is selected, and clear the form value when the check box is canceled.Effect Implementation source code: cyfID is the id of the check boxCopy codeThe Code is
Now, you need to verify the existence of the user name asynchronously. The technology used is jQuery asynchronous verification and struts2 (in fact, springMVC is the same principle, both of which are just a controller ).Form:Copy codeThe Code is as
Obtain iframe from the parent formWindow. iframeIdIframe get parent windowWindow. parentParent.htmlCopy codeThe Code is as follows: Insert title here Name = "subWin" width = "100%" marginwidth = "0" height = "100%"Marginheight = "0" scrolling =
JS decoding and ipv.htmlCopy codeThe Code is as follows: javascript encoding and decoding crazy guy! Use of setintervaland settimeout.html in JSCopy codeThe Code is as follows: Use of setInterval and setTimeout in js countdown seconds JS check
Some people may say what format is this?In fact, there are more than that.1 // 11.2 // 1.21.2e3 // 12001.2e + 3 // 12001.2e-3 // 0.0012. 12e + 2 // 12-. 12e-2 //-0.0012
Of course, these are only decimal. Let's talk about octal and hexadecimal.0x00, 0
Copy codeThe Code is as follows: untitled document Transaction Status in progress terminate a transaction the buyer has locked the goods payment by buyer transaction completed
JQuery provides two APIs that can be directly used to add content to elements.Html ()Text ()Here, html () adds html content to the specified element.Text () is used to add text content to a specified element.The difference between the two is that
If we have selected a group of elements through the jQuery method, how can we next traverse these selected elements?
For example
$ ('Li: eq (1 )')
The second li element in the following code is selected.
Link
Selected link
Link
The first example of the accordion command is the accordion effect command: image online instance address: the pure HTML source code of the accordion command does not use AngularJS is as follows: copy the Code Collapsible Group Item #1 Anim
It's late again tonight !! Hey, continue with the summary of JOSN !!!! Is it necessary to write such a simple statement ??? I think it would be better to go over ten times in my eyes "!! Correct the error !! Learn together !!!! If you don't talk
Recently, I read the book "javascript Object-Oriented Programming Guide" again, read the browser environment chapter, and gradually understand that js, as a script language, must rely on the host environment to implement functions. From the browser
A simple application of nodejs and jqm builds a simple page that supports CRUD operations. nodejs is used for the server, JQM is used for the front end, And mongodb is used for data storage. The web framework uses expressjs, the database operation
Introduced in jQuery1.5.0, jQuery changed ajax to implement the Deferred object. Is a chained object created by the jQuery. Deferred () method. $. Deferred is used everywhere in jQuery code (promise, DOM ready, Ajax, and Animation) features:
IE supports document. selectionFirefox, Chrome, Safari, and Opera with the selectionStart and selectionEnd attributes [javascript] functioninsertText (obj, str) {if (document. selection) {varseldocument. s
= IE supports document. selection= Firefox,
Overview ExtJS4 has more than 300 classes. JavaScript is a prototype-driven language. The advantage of this language is that it is greedy and can be used in different ways. Different Code styles and technologies implement the same function. The
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.