Js dynamic table creation (createElement function)

dynamic table creation (createelement function) for webpage special effects

Js to get parameters in the url

In some cases, we will use js with parameters. For more information about this code, see. // Lastest:Var getArgs = function () {// get url querystringVar params = document. location. search, reg = /(? : ^? | &)(.*?) = (.*?) (? = & | $)/G, temp,

Implement the cross domain ajax function of ajax.net

For security issues, Microsoft has completely closed the function of asp.net ajax for cross domain Switching. if cross domain ajax is not very sophisticated and careful, it will indeed give hackers a chance to attack. however, cross domain ajax is

Asp.net ajax post xml Object throw 500 Error solution (conversion of client strings and xml objects)

AJAX is called "Asynchronous JavaScript and XML" (Asynchronous JavaScript and XML). It is a Web page development technology used to create interactive web applications. Asynchronous indicates Asynchronous, In addition, both javascript and xml are

Ajax registry ticket verification

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

Research on Ajax technology and Search Engine Optimization

Recently, many old students who have made some achievements in NLP blank course asked me: "in ASP. Net website development, how can I include Ajax pages in search engines ?"As we all know, all onClick actions in AJAX directly trigger javascript

Js framework page refresh

1. Response. Write (" "); 2. Response. Write (" "); 3. this. registerStartupScript ("reload", " "); or this. registerStartupScript ("reload", " ");

Imitating Google's search prompt box

Var $ = function (a_sID) {return document. getElementById (a_sID );}Var $ = function (a_sName) {return document. getElementsByTagName (a_sName );}Var $ F = function (a_sID ){Var oObj = $ (a_sID );If (! OObj) oObj = document. forms [a_sID];Return

Js determines whether the user has entered the correct image address

Function putpic (){Var picurl = window. prompt ("Enter the complete path of the image:", "http ://");If (picurl! = Null){If (picurl. length {Alert ("the post path is incorrect. Please check carefully! "+ Picurl. indexOf (". gif "));}Else{Document.

History retention function

Added the history retention function: Not added:

Generate Article Summary

Function Generate_Brief (text, length ){If (text. length Var Foremost = text. substr (0, length );Var re =/] * (> ?) /Ig;Var Singlable =/BASE | META | LINK | HR | BR | PARAM | IMG | AREA | INPUT/IVar Stack = new Array (), posStack = new Array

Javascript dynamically changes the content in table cells

Speaking of using js to dynamically change the content in td, we will think of dom. Let's take a look at the simple code below. 0, 1 1, 0 1, 1 Enter the text to add: Row & nbsp;Column

Iframe adaptive height

Set cookie end date

New Document

Js timer delay

New Document

Long article paging code

Use hr as a paging character during warehouse receiving, and replace with Add the mark in the header and end of the warehouse receiving articleFor example:Dim str;Str = trim (request ("textareaid "));Str = " "+ str +" "Str = Replace (str, str, "

Write on Images

New document The story of the rhinoceros and the bird

Disable form input to automatically complete code

Form automation has this function. After you input a lot of content and submit it, it will be automatically filled in next time. If we use ajax, we do not want it to have this function, we need to disable the Automatic completion of form input. I

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

Iframe Parent and Child pages call js code for each other

In js, when both the parent and child pages belong to the same domain, the js methods between them can be called each other. You can specify the object to which the function belongs before calling the method. On the parent page, you can obtain the

Total Pages: 472 1 .... 397 398 399 400 401 .... 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.