This article describes how to use javascript to create a simple example of a shortcut. If you need it, you can refer to setting the site as a trusted site.
The Code is as follows:
Var fso = new ActiveXObject ("Scripting. FileSystemObject ");Var
How to pass parameters to the js method in html, this article will introduce in detail the problem of passing parameters to the reference method in the html registration event. If you are interested, refer, we hope to help you with the problem of
After you click the maximize button, the browser content is filled with the display, and the border of the browser window is squeezed out of the display. The biggest effect of this js is that the browser's border is displayed on the display. The
Positioning is often used when developing jquery, including Positioning Relative parent elements and relative documents. This article summarizes that positioning is often required when developing jquery, here are two types of positioning:
1.
Here you provide three types of jquery instance code for dynamically loading Javascript. Because jquery is convenient for users, you only need one sentence to use jquery to dynamically load files $. getScript (& quot; test. js & quot;); then OK.
This article introduces Javascript and jquery code for obtaining various screen width and height. If you need it, refer to Javascript:
Visible area width of the webpage: document. body. clientWidth
Visible area height: document. body.
This article introduces how to use JavaScript to restrict the input box: the text box can only enter numbers and code, only numbers, only letters and Chinese characters, only English letters and numbers, and many more, if you are interested, you can
This article will introduce the blocked applications in js. You can select, cut, copy, and screen blocking content on webpages. In short, you can imagine all of them. For more information, see, I hope this will help you learn about js blocking.
This article describes how to use js regular expressions to control the input values of input tags: only numbers can be input, only Chinese characters can be input, and only English letters can be input. For details, see this article, hope To Help
This article introduces how to use native JS to obtain the selected data value from a form checkbox. The specific implementation is as follows. If you are interested, refer to the following, it is helpful to obtain the selected data value from a
This article introduces how to randomly generate instances with no duplicate data in JS, if you have any questions, please refer to the article I read on IBM last night about how Java developers think about JavaScript, as a Java developer, you must
If you encounter a problem in the project, you need to read the value in the database in JS and then return the value to the page. The solution is as follows: Ajax is used for implementation and ajax is required. dll (a help class library for ajax
A hidden DOM cannot be obtained. If you want to obtain it, use the following method: first clone a DOM, set position: absolute, and then set top to a relatively large negative value, then display it, and get the width and height of the DOM, and
Some Spelling functions are often used when writing js scripts, such as calling setTimeout... after checking for a long time, why can't a dialog box be displayed? Using closures completely avoids some spelling functions that are often used when
This article provides a detailed analysis of how to clear the path value of the File control using JS. For more information, see
1. How to use a script to modify the fileupload Control Value,
In the development environment vs2005, when uploading a
The method for solving conflicts between jQuery and other js (Prototype) libraries is very simple. It is to use jQuery's jQuery. noConflict () function. The following small series will introduce you to you. For more information, see
1. After
This article describes how to obtain the parameter values in the current url in js and copy them to the input file. For more information, see
The Code is as follows:
Function getObject (objectId ){If (document. getElementById & document.
You can use the mouse to drag the list item to change the default position. The specific implementation is as follows (with a demo). If you are interested, you can learn
The Code is as follows:
JQuery Dynamic drag' n Drop
Js simple namespace manager instance Code. For more information, see
The Code is as follows:
Function $ package (name){// Split the namespace domain stringVar domains = name. split (".");Var cur_domain = window;// Cyclically traverse each
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