Use JavaScript to achieve the following functions of tabular data management:
· Click the Add button to add an empty record that can be modified.
· Click the table cell to modify the text.
· The saved interface is implemented after
Create | shortcuts
You need to set up your site as a trusted site.
var fso = new ActiveXObject ("Scripting.FileSystemObject");var shell = new ActiveXObject ("Wscript.Shell");var tagfolder = "C:\\Temp";if (!FSO. FolderExists (Tagfolder)){Fso.
Access | functions
Effect: For example, a device management system somewhere to fill in the device number, but the device number is usually difficult to remember, and may remember just which department which location of the equipment. Therefore, we
1, charCodeAt returns the ASCII value of the character under the current index2, Charat returns the character under the current indexThe following code gets the numeric character in the string:
function Overload-www.cxybl.com
Perform
Normally, JavaScript is executed from top to bottom as an explanatory script, but JavaScript also allows nesting in its statements, which is this:
document.write (" cannot write , it is to be expressed in the form of string concatenation,
Article Introduction: IE6 under javascript:void (0) Not submit the alternative method.
Solve a bug today, under the IE6 point a label will not submit, originally in A's href write is javascript:void (0); javascript:void (0) to ###,
A good way to debug JavaScript1, download Ms Script debugger and install from Microsoft website, this is the download address:Http://download.microsoft.com/download/winscript56/install/1.0a/NT45XP/EN-US/scd10en.exe
2, modify the settings of IE:IE
Web page Production WEBJX article introduction: since the beginning of web development, has not found a very satisfying JavaScript development tools. From EditPlus, Dreamweaver to FrontPage, to Visual Studio, there's nothing like a hand. Are you
Core tips: JavaScript functions with parameters
by clicking on this button, you can call a function with parameters. This function will output this parameter.
By clicking on this button, you can call a function with parameters. This
Core Tip: write the first JavaScript program that explains how JavaScript scripts are embedded in HTML documents.
Let's use an example to write the first JavaScript program.
It shows how JavaScript scripts are embedded in HTML documents.
check box
Full selection and optional switching
PS: (Of course, if the full selection of the box is another control such as a button, or a link to anything, the checkbox in the Checkitem Click event can be removed to avoid errors)
Pop-up window
let pop-up windows become "considerate" someWhen you surf the Web, a pop-up window appears. It may be the webmaster to your cordial greetings, may also be the site's important notices, website ads and so on. But poor use can cause
If you need to change the speed of the animation playback,
Like changing a picture every 5 seconds.
Change the 1000 in settimeout ("Imgturn (' +numb+") ", 1000) to 5000
Menu A lot of game menu pop up looks cool in fact, with simple JavaScript code can easily achieve this effect, this to some of the game of Personal homepage friends very helpful, she can let the viewer have a feeling of immersive, and her original
Skills
1. oncontextmenu= "Window.event.returnvalue=false" will completely screen the right mouse button
no available for table
2. deselect, prevent copying
3. onpaste= "return false" is not allowed to paste
4. oncopy= ' return false; ' oncut= '
Tips | Web page
When you are designing a Web page, many pages need the same border pattern and navigation bar, FrontPage provides us with a shared border to facilitate the design, but this is not too convenient, after all, each page has added the
Data
Today, a friend asked me about using JavaScript to carry out the data transmission between the pages of the page, I have written before, but never noticed, today summed up a bit, hoping to give you some help, but also help me to sum up the
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