Procedure for clearing data in all tables

CopyCodeThe Code is as follows: --*************************************** **************** -- * Clear data in all tables * -- * Sahara Forest * -- * 2010-6-28 * --*************************************** **************** If exists (select *

Compatibility of juqery radio writing (new and old versions of jquery)

As follows: CopyCodeThe Code is as follows: $ ("input [name = 'isiel'] [checked]"). Val () $ ("[Name = 'isiel'] [checked]"). Val () = The above only applies to earlier versions of IE (IE6 and below)Later versions of IE or Firefox need to be

Apache configuration steps

The configuration steps are as follows: 1. Modify the HTTP. conf file as follows:Userdir public_html # default home page directory ~ /Public_html# Userdir enabled username enables services for some users. For details, refer to userdir

Use ComboBox to select values in extjs propertygrid

Problem description: When ComboBox is used in propertygrid to select a value, the value of displayfield is obtained, but the value of valuefield is displayed when you confirm the selection. For example, select gender from the drop-down list,

Compatibility with the Enter key trigger event in the browser script compatibility text box

It is very easy to determine whether to press Enter: CopyCode The Code is as follows: function enterpress (){ If (event. keycode = 13 ){ ... } } The onkeypress of IE6 accepts the "carriage return event", while the onkeydown does not.In IE8,

Use table variables in SQL queries

CopyCode The Code is as follows: use [daf_db] Go /***** Object: storedprocedure [DBO]. [prog_worktask_list] script Date: 06/14/2010 21:14:43 ******/ Set ansi_nulls on Go Set quoted_identifier on Go -- [Prog_worktask_list ,'','' -- ==============

Example of SQL Distributed Query and insert incremental Columns

CopyCodeThe Code is as follows: truncate table testtable Exec sp_configure 'show advanced options', 1; -- enable advanced configurationReconfigureExec sp_configure 'ad hoc distributed queries ', 1; -- enable Distributed QueryReconfigure Set

Jquery + jqmodal

First, the final effect is as follows: Click "confirm information" A confirmation window pops up to show all the information that has been filled in. The information is very simple and easy to understand. So we chose jquery + jqmodal

Using userdata in JS to save form data on the client

In fact, we can use the userdata behavior in the default behavior of Microsoft DHTML to implement this function. Many netizens have sorted out these questions and provided three examples. The following describes how to use this behavior:

Implementation Code of jquery tab plug-in

Basic Format of jquery plug-in: CopyCode The Code is as follows: (function ($ ){ $. FN. Tab = function (options) {// The tab next to $. FN is the function name of this plug-in. You can make changes as you like. VaR defaults = { // Related property

How to effectively use cache in WAP development to reduce message transmission volume

To achieve this, you must use the cache as much as possible to frequently obtain previous messages from the cache. Fortunately, most WAP devices currently have a rated cache. By default, they will try to maximize the cache. Almost all URL-directed

JS printing paper function code (recursion)

CopyCode The Code is as follows: // print size, in mm // Http://en.wikipedia.org/wiki/ISO_216 VaR page = function (){ VaR a0 = {name: "A0", width: 841, height: 1189}; // unit: mm VaR b0 = {name: "B0", width: 1000, height: 1414}; // unit: mm VaR C0 =

Terrible secrets at the bottom of a beverage bottle (unsafe substances in the beverage bottle)

I hope you will repost each other to let more people know this hidden danger and live a healthy life! A 12-year-old girl in UAE has cancer because she has been using the same mineral water bottle for sixteen consecutive months. The bottle contains

A simple fadein (fadeout) Class

You must be compatible with IE (element. style. Filter = 'Alpha (opacity = value) ') and non-ie (element. style. Opacity = value. In addition, note that the value of non-ieopaciy is 0 ~ 1, ie is 1-100. Below, pasteCode: Copy code The

Determine whether the version is IE6 and prompt to upgrade the browser

The following results can only be viewed in IE6. if you are using Internet Explorer 6, the display effect on this page may be different. We recommend that you upgrade to Internet Explorer 8 or the following browsers:

An SQL statement converts a vertical table into a horizontal table, and groups them to obtain the average and total average values.

Effect: The test SQL statement is as follows: CopyCode The Code is as follows: declare @ tab table (class varchar (20), student varchar (20), course varchar (50), quantity decimal (7, 2 )); Insert into @ tab (class, student, course, quantity)

Jquery-based image lazy loading js

The following is the implementation code (based on jquery ): Copy codeThe Code is as follows: function lazyload (option ){ Var settings = { DefObj: null, DefHeight: 0 }; Settings = $. extend (settings, option | | {}); Var defHeight = settings.

YmPrompt's doHandler method to obtain the return value of a subwindow

Depressed, I still don't have to worry about it. I looked at the method introduced from the beginning to the end. I saw two parameters sign and autoClose in doHandler. After reading the method introduction, I think this method is feasible (ymPrompt

How to solve the memory leakage problem of JQuery Dialog

For the page, the Dialog in JQuery is still effective and easy to use. The pop-up effect can be achieved with just a few lines of bound code. Code Copy codeThe Code is as follows: $ ('# dialog'). dialog ({ AutoOpen: false, Width: 600, Buttons :{ "OK"

Use jQuery to create a super select plug-in that supports Chinese characters, Pinyin, and English quick locating and query

Copy codeThe Code is as follows: // Xiaoxiang blog // Http://blog.csdn.net/fkedwgwy // PHP Group: 37304662 // Time: 2010-06-13 // V3.0.0.0 // Comprehensive query of any characters, Chinese characters, and Pinyin // Select option as the direction key

Total Pages: 64722 1 .... 53845 53846 53847 53848 53849 .... 64722 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.