From: http://fanqiang.chinaunix.net/a1/b1/20010508/133026.html
Function: Checks disk space usage of the file system. You can use this command to obtain the space occupied by the hard disk and the remaining space.
Syntax: DF [Option]
Note:
1. Refresh the current page and write it in HTML. "
Javascript: window. Location. Reload ();
" > Refresh
2. Jump, written in HTML
Function gotourl (URL)
{
//
Window. Top. pageframe. Location. href = URL;
//
Frame
Window.
Convenient setting functions
For most of the jquery1.4 setting values, you can set the second parameter as the callback function. For example:. CSS (),. ATTR (),. Val (),. html (),. Text ().
This is very abstract, let's look at the example
Php uploads files in five ways: zccst I. normal file upload methods there are two ways to deal with the last File: 1, use the original php file. (1) front-end code & lt; formactionupload_file.phpmethodpostenctypemultipartform-data & gt; & lt;
Code that converts RTF files to HTML and displays them in a Web page
It works like this, upload an RTF file, and then turn it into HTML to show it, the code is a bit complicated, Teaman still have to study, as if the Chinese version is a bit
Php file upload 1. Upload a common file using the original php file. (1) front-end code & lt; formactionupload_file.phpmethodpostenctypemultipartform-data & gt; & lt; labelforfile & gt; Filename: & lt; label & g php file Upload
I. normal file
Reprinted from: http://blog.sina.com.cn/s/blog_54318f230100mv46.html
function Replacehtmlandjs ($document) {$document = Trim ($document), if (strlen ($document) ]*?> ' Si ', //Remove HTML tag "' ([\ r \ n]) [\s]+ '",
A brief analysis of the closure (anonymous function) in PHP
Closures are also called anonymous function PHP5.3 introduced.
How to use
You need to adjust the values in the array elementsCopy the Code code as follows:$data = Range (0, 100);//You want
PHP Closure (Closure) anonymous functions in detail, Closure function of the detailed
PHP's Closure (Closure) is an anonymous function, introduced by PHP5.3.
The syntax of a closure is simple, and the key word to note is that only use,use are
PHP's Closure (Closure) anonymous function
This article mainly introduces the PHP anonymous function introduced by php5.3, that is, the closure (Closure), and the role of closures, very detailed, recommended to the needs of small partners.
PHP's
Just contact Swift, if there is a wrong point, please correct me. Reprint please indicate the source
Define a basic function in Swift
// defines a function that receives a string that returns the value of a string type, func test
One, Dom lookup1, document.getElementById ("id")-function: Returns a reference to the first object with the specified ID-Return value: Dom Object-Description: ID is the value of the id attribute on the DOM element2, Document.getelementbytagname
1.attr (NAME|PROPERTIES|KEY,VALUE|FN)Sets or returns the property value of the selected element$ ("img"). attr ("src");Returns the SRC attribute value for all images in a document$ ("img"). attr ({src: "test.jpg", alt: "Test Image"});Set SRC and ALT
In this section we write a small AJAX application that can rate something (Keel note: voting for something), as seen on YouTube.com.First we need some server-side code, this example uses a PHP file, reads the rating parameter and then returns the
Here Gulp installation and module installation I won't mention it, just write some configuration functions.For example/*** Created by Yumeiqiang on 16/7/26.*/var gulp = require (' gulp ');var uglify = require (' gulp-uglify ');//Get uglify module
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.