Method _ javascript skills

I used javascript to connect to the access database. I just saw a program written by a friend who used javascript to connect to the excel database and wanted to change it to the access database. I found these two articles. ---------------------------

Javascript is compatible with FireFox! _ Javascript skills

Javascript is compatible with FireFox! Javascript is compatible with FireFox! _ Javascript skills Untitled Document Open Open Open

Obtain basic knowledge of parent tag _

Obtain the parent tag No event under FF Use arguments [0] No srcElement under FF Target No parentElement under FF Use parentNode The Code is as follows: Function obj_event_onsomething (e ){Var e = window. event? Window. event: e;Var srcEle = e.

Arguments object_basic knowledge

Arguments objects in javascript can be accessed without explicitly specifying the parameter names. For example: Function hi (){ If (arguments [0] = "andy "){ Return; } Alert (arguments [0]); } Use arguments [0] to access the first parameter,

Code _ javascript

Code for Scrolling up and down with the mouse function scroll (n) {temp = n; document. getElementById ("Out1 "). scrollTop + = temp; if (temp = 0) return; setTimeout ("scroll (temp)", 10 );} script xx xx xx xx xx [Ctrl + A select all

Various browser compatibility question _ basic knowledge

Various browser compatibility problems About Setting onload event handle using scripts script document. body. onload = function () {alert ("! ")} Script [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to

Hot text _ typical special effects

Hot text function glowit (which) {if (document. all. glowtext [which]. filters [0]. strength = 2) document. all. glowtext [which]. filters [0]. strength = 1 else document. all. glowtext [which]. filters [0]. strength = 2} function glowit2 (which) {

One layer gradually increases and expands, and there is a kind of downward sliding effect _ javascript skills

One layer gradually increases and expands, with a downward slide Effect var act; function over () {var h = parseInt (mytd. height); if (h 30) {mytd. height = h-2; clearTimeout (act); act = setTimeout ('out () ', 10 );}} script carefree

The drag-and-drop javascript technique similar to Google and Windows Live

Drag and Drop similar to Google and Windows Live New Document Cobao ........ -x address: http://www.cobao.cn keywords: note: Sina ........ -x address: http://www.sina.com.cn keywords: note:

Prompt advertisement code _ advertisement code

Prompt advertisement code -Disable script Script var textcolor = new Array () textcolor [0] = "000000" textcolor [1] = "000000" textcolor [2] = "111111" textcolor [3] = "111111" textcolor [4] = "222222" textcolor [5] = "333333" textcolor [6]

Event. x, event. clientX, event. offsetX differences _ javascript skills

The differences between event. x, event. clientX, and event. offsetX are as follows. X: set or obtain the position of the outer boundary of the parent element of the mouse relative to the target event on the x coordinate. ClientX: The x coordinate

How to use javascript to control the size of uploaded files _ javascript skills

How to use javascript to control the size of uploaded files The Code is as follows:

PACKER2.0.2, an open-source tool that encrypts JavaScript, is a hacker.

PACKER2.0.2, an open-source tool for JavaScript encryption, is a non-complex coding tool that can be directly recognized by browsers After encoding. Sina is in use. For example: http://comment4.news.sina.com.cn/comment/cmnt_xml.js href =

JavaScript object-oriented (1) _ javascript skills

JavaScript object-oriented (1) 1. Traditional Prototype-based approach To be exact, the "class" of distinct Cr into pt cannot be regarded as a real class in a strict sense. There is a relationship between the declared object and the class (estimated:

Breaking website copy and right-click restrictions _ hacker nature

Break the limitations of website replication and right-click. If you develop a website, you like the content but cannot copy it. You can try the following method: Paste the following text in the address bar and press Enter. Click OK to show up

JavaScript object-oriented (2) _ javascript skills

JavaScript object-oriented (2) I wrote too much nonsense in the previous article and it was very bad. This time I will talk about inheritance. We learned prototype in the previous section. Now I am going to start with prototype to implement it.

Sort () method in Js _ basic knowledge

For details about how to use the sort () method in Js, refer. Returns an Array object whose elements have been sorted. Arrayobj. sort (sortfunction) Parameters ArrayObj Required. Any Array object. SortFunction Optional. Is the name of the function

Make javascript include file _ javascript skills

Javascript can also contain files. javascript has powerful functions, but one problem is that it cannot contain other js files. Other non-scripting languages basically have this function, so I have to feel a little sorry. When the problem is getting

Implementation of JavaScript inheritance _ javascript skills

Implementation of a JavaScript inheritance Author: Yin weiming Blog: http://my.donews.com/yinwm/ As I mentioned in the previous article, for JavaScript, a class is a function, and its class methods (that is, static) are all part of this function,

PJBlog modification-code and method to prohibit replication-Basic Knowledge

PJBlog modification-the code and method to prohibit copying are in the system homepage file (default. asp) and log files (article. asp) Add the following code at the bottom. both files are in the root directory. The Code is as follows:

Total Pages: 5378 1 .... 3235 3236 3237 3238 3239 .... 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.