Use XMLDOM and ADODB. Stream to implement base64 encoding and decoding.

Copy codeThe Code is as follows: base64 encoding and decoding using XMLDOM and ADODB. Stream base64 encoding and decoding using XMLDOM and ADODB. Stream By: CuiXiPing (unintentional) 1. base64 encoding of the file 2. base64 encoding of text

Getting started with JQuery-Jquery

JQuery is a very flexible script library, which provides a general abstraction layer for Web script programming. It is almost applicable to any of our script programming, it makes it easier for us to use Javascript For a more brief introduction,

JavaScript code used to determine whether the input is a positive integer, floating-point number, and other numbers

1. The following lists some regular expressions that interpret numeric types.Copy codeThe Code is as follows:/^ \ D + $ // non-negative integer (positive integer + 0)/^ [0-9] * [1-9] [0-9] * $ // positive integer/^ (-\ D +) | (0 +) $ // non-positive

Google AJAX search API implementation code

Google AJAX search APIDocument: http://code.google.com/intl/zh-CN/apis/websearch/docs/Copy codeThe Code is as follows: Google AJAX search API Loading...

Javascript learning notes (onchange, etc)

1. onchange and its onpropertychange, oninputIn IE, you can use onpropertychangel to immediately trigger the listener,Oninput can be used in FF, but events must be bound using the addEventListener method recommended by

Solve the conflict between jQuery plugin tipswindown and hintbox

The usage is as follows:On the. aspx page, click the button to bring up the simulation layer. In this layer, there is an input text box "supervisor" that calls hintbox to generate the instant query function. Direct calls result in the following

Access to DOM element attributes that require special processing

Copy codeThe Code is as follows:Var props = {'For': 'htmlfor ','Class': 'classname ',Readonly: 'readonly ',Maxlength: 'maxlength ',Cellspacing: 'cellspacing ',Rowspan: 'rowspan ',Colspan: 'colspan ',Tabindex: 'tabindex ',Usemap: 'usemap

Differences between BOM and DOM

Differences between BOM and DOM§ The implementation of various functions of DHTML technology relies on the interaction between client scripts and Web pages output from the browser host and in the host. Such interaction is achieved through the

Javascript singular arguments Analysis

Each function has a variable named arguments, which saves the currently called parameters in an array like an array. In fact, it is not an Array. If you use the typeof arguments statement to try to return "object" (object), it cannot use push and

Basic code model and process analysis of ExtJs event mechanism

Code implementation: triggers an event when a property of a custom class is used.Effect of the program: Click the enter button to bring up a script prompt text box asking the user to enter his name. After confirmation, the user's input name will be

Summary of JavaScript-based methods for verifying whether the browser supports javascript

Effect: Let's take a look at how other websites do it:Google.com Logon: both the client and server have been verified, and the message is the same.Logon to baidu.com: the password input box is blocked.Http://fanfou.com/register: the client and the

ExtJS 2.0 practical and concise tutorial-Border Area Layout

This layout divides the container into five areas in the Southeast and northwest, which are represented by east, south, west, north, and cente respectively. When adding sub-elements to the container, we only need to specify the location of these

JQuery-based smooth and continuous image scrolling plug-in

* This plug-in must run on jQuery v1.3 or a later version.* The plugin allows you to smoothly scroll up or left an image.* If you need more results or the plug-in has bugs in use, you can leave a message on yanlei's blog. yanlei will do its best to

About javascript document. createDocumentFragment ()

He supports the following DOM2 methods:AppendChild, cloneNode, hasAttributes, hasChildNodes, insertBefore, normalize, removeChild, replaceChild.The following DOM2 features are also supported:Attributes, childNodes, firstChild, lastChild, localName,

JavaScript Execution patience in various browsers

IE: a prompt is displayed when you execute more than JScript engine statements.Firefox: a prompt is displayed when the task is executed for more than 10 seconds.Safari: a prompt is displayed when the execution lasts for more than 5 seconds.Opera: No

Use regular expressions to dynamically create/Add css style scripts compatible with IE firefox

Str indicates the XMLRequest returned through ajax/* Dynamically load css style */Function loadStyle (str){Var regExp_src =/ [^ <>] * /gi;Var matchArray_src = str. match (regExp_src );Alert (matchArray_src [0]);If (matchArray_src ){For (var I = 0; I

JavaScript indexOf case-insensitive

The following describes how to make the indexOf function in javascript case-insensitive.Replace all of them with uppercase or lowercase letters, and then compare them.This is a simple practice!The first occurrence of a substring In the indexOf

Js implements the all-selected function for permission tree update.

Copy codeThe Code is as follows:// JScript FileFunction getParentByTagName (element, tagName){Var parent = element. parentNode;Var upperTagName = tagName. toUpperCase ();While (parent & (parent. tagName. toUpperCase ()! = UpperTagName )){Parent =

Summary of compatibility issues in javascript ie and FF

Png transparentAlphaImageLoaderFilter: progid: DXImageTransform. Microsoft. AlphaImageLoader (enabled = bEnabled, sizingMethod = sSize, src = sURL)Enabled: Optional. Boolean ). Set or retrieve whether the filter is activated. True: default value.

Traps caused by different types of input and button values when submitting forms through ajax

Today, when using connection for form submission, we found that setting the type attribute in the tags "input" and "botton" is also a learning issue.In the development process, in order to make html code more clean, I first use YAHOO. util. event.

Total Pages: 5378 1 .... 2507 2508 2509 2510 2511 .... 5378 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.