1. When writing widgets, we usually need to bind some events. It is best to add the binding events of these widgets to the namespace of the current widget. If two widgets are used for the same jquery object, and both widgets are bound with the same
Question objective
1. Master the big and lowercase interchange skills
2. Master latency output skills
3. Master character truncation techniques
Problem-solving requirements
1. Ensure
Code Efficient and universal
2. Try to make code as concise as
CopyCode The Code is as follows :/**
* The floating Div regularly displays prompt information, such as Operation success or failure.
* @ Param string tips (content prompted)
* @ Param int height the height of the information displayed from the top
For applications
Program The shutdown time of the process that the pool 'defaultapppool 'provides services exceeds the limit.
The server frequently generates the "application pool 'defaultapppool 'to provide services. The process shutdown time
Use Select... in SQL Server... Into statement
The following types can be used:
1. Full table backup: for example, select * inot T1 from titles
2. Back up some columns of the table (write the column list without writing *) or some rows (with the
An ASPX page can usually contain other ascx controls:
ProgramClerk Zhang is in control. $ () is used in ascx (). ready (function {}), while programmer John is in control B. the ready function is also used in ascx. When Programmers Make a page. ascx,
1. HTTP server.
2. Recommended performance testing tools
3. Images.
4. Where should JS be loaded.
5. Why reduce the number of requests and the number of requests.6. Reduce the request and response data volume.7. JavaScript and CSS merging,
I. type conversion
1. Convert to string
Ecmascript's boolean values, numbers, and string values are interesting because they are pseudo objects, which means they actually have attributes and methods.For example:
JSCode Copy codeThe Code is as
1. tinymce
Free, open-source, lightweight online editor, based on JavaScript, highly customizable, cross-platform.
2. FCKeditor
Free, open-source, and online editors with a large number of usersCommunityYes.
3. Yui Editor
I saw this series
Article Write a javascript asynchronous call framework 1, 2, 3, 4, 5, 6.
Asynchronous operations may generate events that you do not want to trigger. This problem has also been encountered before. At that time, I didn't think
CopyCode The Code is as follows: Create Table Tb (ID int, value varchar (10 ))
Insert into TB values (1, 'A ')
Insert into TB values (1, 'bb ')
Insert into TB values (2, 'aaa ')
Insert into TB values (2, 'bbb ')
Insert into TB values (2, 'ccc
In actual use, how can we flexibly use them in the stored procedure? Although they implement the same functions, in a stored procedure, how does one sometimes use temporary tables instead of table variables, and sometimes use table variables instead
CopyCodeThe Code is as follows: // define an object Array
VaR DATA = [{name: "Jiang", age: 22}, {name: "aaaaaaaaaaaaaa", age: 21}, {name: "ccccccccc", age: 25}];
// Define a comparator
Function compare (propertyname ){
Return function (object1,
Alert ("abacacf". replace ('A', '9 '));
Alert ("abacacf". replace (/a/g, '9 '));
Result 9 of the first run: bacaf, which replaces the first
The second running result 9b9c9f can be used to replace all js functions.
In fact, the second point is to use
1. There are two novel vbs Downloaders on this blog. One is made of the CDO. Message component and the other is made of Microsoft. XMLDOM. For details, see http://www.jb51.net/article/15506.htm. One of the two Downloaders is difficult to use and
In the process of use, we found that easyui still lacks some small functions or is not open.
Take the datagrid plug-in for example, data loading provides two methods for remote and local data loading. However, the data loading mask layer is
EasyLoader can dynamically load scripts and CSS files, or dynamically load existing components of EasyUI.
You need to reference the EasyLoader. js file. Note: you do not need to reference the jquery. easyui. min. js file here.
For example, you can
Copy codeThe Code is as follows: function authcode ($ string, $ operation = 'decode', $ key = '', $ expiry = 0 ){
$ Ckey_length = 4; // the random key length ranges from 0 to 32;// Adding a random key can make the ciphertext irregular. Even if the
Autopoint. js code:
Copy codeThe Code is as follows :/*
* @ Date: 21:42:15
* @ Author: Hu lingwei
* Depends:
* Jquery. js
*
* Function: similar to the GOOGLE search box prompt function
*/
(Function ($ ){
$. Fn. autopoint = function (options
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service