Set and delete cookies in js

This article provides operations on cookies. Let's take a look at how to set and delete cookie instances in js. Cookie is a txt file used by the client to save information. This article provides operations on cookies. Let's take a look at how to set

Example of obtaining the master category name list recursively using XSLT

This article will introduce you to an example of using XSLT to recursively retrieve the list of Primary category names. I hope this tutorial will be helpful to you. This article is about a small example of XSLT and XML. Requirement: XML throws

Good ajax Components

Function Xajax (){If (xajaxDebug) this. DebugMessage = function (text) {alert ("Xajax Debug: n" + text )};This. workId = ''xajaxwork'' + new Date (). getTime ();This. depth = 0;// Get the XMLHttpRequest ObjectThis. getRequestObject = function (){If (

Js gets the parameters passed in the address bar

String segmentation analysis.Here is a get URL +? The JAVASCRIPT client solution with the QUESTRING parameter is equivalent to asp's request. querystring, PHP's $ _ GETFunction: Then, we can call this function to obtain the

About ext, ajax should not be just ext. At this time, I may be more inclined to jquery, but jquery's plug-in

About ext, ajax should not be just ext. After reading the five-page discussion, I feel that most people do not support ext. Although ext may be the most popular ajax framework, but she does have a lot of problems.1. For example, the hot issue of

Ajax registry ticket verification

Prince's palace student assignment upload system v1.0 by Xue Xiaolong homepage job upload View a Job resource download

Image Scaling script

Usage:DrawImage (ImgD, imgwidth) ImgD is the name of the image label imgwidth is the maximum width allowed by the image.The following is a reference clip: "%>  

Convert Chinese Characters in AJAX to PinYin 1

untitled document Input Chinese characters: Pinyin note:

Use JScript to implement Paging

Var DataSet, SQL, DataList;Var I = 0;Var j = 0;DataList = new News ();DataSet = Server. CreateObject ("Adodb. recordset ");SQL = "select * from News where ngroup = 'group News 'order by id desc ";DataSet. Open (SQL, DataConn, 1, 1 ); // Whether data

Js control framework page form

Function setobj (obj){For (I = 1; I {Var iscontinue = true;If (parent.chatform.doc ument. forms [0]. object. options [I]. value = obj){Parent.chatform.doc ument. forms [0]. object. selectedIndex = I;Iscontinue = false;Break;}}If (iscontinue =

Preview the solution when printing some pages.

Case 1: The style is used when a few elements on the page are not printed (not previewed). The details are as follows:The style is defined as follows:@ Media print {. Notprint {Display: none;}}@ Media screen {. Notprint {Display: inline;Cursor: hand;

Send multiple attachments in a 163 email.

 Send multiple attachments in a 163 email.   Var currFocus;Var ExistAttaInfo = new Array ();Var oldDelAttas = new Array ();Var attaIdx = 0;Var IsIE;Function fInitMSIE (){If (navigator. userAgent. indexOf ("MSIE ")! =-1 ){IsIE = true;} Else {IsIE =

Javascript uses the Enter key to implement the Tab key function

First, let's look at the effect of the following example: Principle:How to move the focus of the text box one by one with the "Enter key". Three methods are provided. The best one is as follows:Use a client script to add the onkeydown event

Ubb to html Reference Function

Public string Texttohtml (string chr){If (chr = null) return "";Chr = chr. Replace ("Chr = chr. Replace (">", "& gt ");Chr = chr. Replace ("\ n", " ");// Process [URL] [/URL]Chr = Regex. Replace (chr, @ "\ [URL \] (? [^ \] *) \ [\/URL \] ", @" $1

Netease asynchronous transmission mode ajax

Function getXmlhttp (){Var http_request;If (window. XMLHttpRequest ){Http_request = new XMLHttpRequest ();If (http_request.overrideMimeType ){Http_request.overrideMimeType ("text/xml ");}}Else if (window. ActiveXObject ){Try {Http_request = new

Anti-Sina Blog js pop-up trial window

/*Author: DavivBlog: http://blog.163.com/jxdaweiTime: 2006-10-27Thank you: wenming (Blueidea)Function: a prompt is displayed.Method: Call sAlert ("information you want to bring up ");*/Function sAlert (str ){Var msgw, msgh, bordercolor;Msgw = 400; //

What is JavaScript?

What is JavaScript?JavaScript is a scripting language based on Object and Event-Driven with secure performance. UseIt is linked to a Web page together with HTML hypertext markup language and Java scripting language (Java applet ).Multiple objects

The text disappears when the js text box is clicked, and the text appears when the focus is lost.

We often see some websites that want to fill out a form for registration. One is that when the text box has a focus, the text box prompts to disappear. If we leave the text box, the western-style file prompts will come out, below I will introduce

Js implements cross-browser copying of IE content to the clipboard

We all know that using the general method, we cannot copy the content across browsers, and there is no way to copy the content to the clipboard under ff, next, I will introduce a Zero Clipboard plug-in to implement cross-Browser IE copying content

Detailed description of the Data Interaction instance on the parent and child pages in JavaScript

In JS, if you want to publish the data on the parent or child page, you only need to use objective framesor directly use windows.prarent.doc ument. getElementById. Next, I will introduce it to you. Writing about parent-child page data interaction in

Total Pages: 472 1 .... 214 215 216 217 218 .... 472 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.