Many friends in the process of making Web pages always found that some time some English will put the original good form to distraction and lead to deformation, although you can use style= "Table-layout:fixed;word-wrap:break-word;word-break:
idea: Use the window.showModalDialog method to get the reference to the pop-up subform, and then return the result with window.returnvalue= "* *" on the child page.
Sample code: (Simplifies implementation with jquery)
Parent page: parent.html
Untitled document This is the 1th line of text, we see the this is the 2nd line of text, we see the this is the 3rd line of text, we see clearly the This is the 4th line of text, we see the this is the 5th line of text, we see the
Unable to insert running code when posting?
The following is the program code:
This is the layer that can be dragged
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
Whether it's a website or some application system, are unavoidable to use some pop-up effect, in the Zj-blog V1.0 Beta2 version I use the network in some features of the more popular imitation XP shutdown effect of the pop-up function, according to
Not quite like, and more cost original, do not know there is no better way =.=
Flame
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
(New Date (). GetTime ()) ^ math.random ();
Random and basically hard to repeat ...
It's better to forget it. Randomly generated numbers that are not
Load CSS files asynchronously or load CSS modules asynchronously, support all browsers, including IE, reference to JavaScript advanced programming
The 1.createLink method is used to create a style label and add it to the head label
The
Asynchronously load JS file or Load JS module asynchronously, support all browsers, including IE, reference to JavaScript advanced programming
1.The Createscript method is used to create a script tag and add it to the body tag
2.The Createmodule
Effect:
password input box Please enter password ; input type= "password" name= "pwd" onclick= "Showpad ()" "onkeydown=" return false; "size=" 8 ">
[Ctrl + A All SELECT Note: If the need to introduce external
first column second column 3rd column first column second column 3rd column
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
This is not a cookie, record to self.
Copy Code code as follows:
Copy Code code as follows:
Default style
Blue Classic
Red Dream
I am a little little bird!
Look at the effect.
Recently look at the EXT source code, see its implementation of the namespace function implementation method:
EXT namespace Implementation code:
Copy Code code as follows:
Namespace:function () {
var a=arguments, O=null, I, J, D, RT;
If it is 14 words, user input before the use of 14 to imply that users can enter 14 characters, when the user began to input data, the * replaced the *, input a few characters on the replacement of a few *, the text box after the entry of the user
In some programs, you might want to combine array groups into strings, such as the var aarray = ["A", "B", "C"], and the form of a string. Here are two ways, of course, if you have a better way, don't forget to leave a message to me.
First
How to add cells dynamically!!
Copy Code code as follows:
Using the InsertRow () and Insertcell () method
Its usage is as follows:
InsertRow ()
Copy Code code as follows:
var newtr=tableobj.insertrow (N);
The instance is as follows:
var xmldoc = null; function Loadxml (Xmlpath) {try {if (window).
ActiveXObject) {xmldoc = new ActiveXObject ("Microsoft.XMLDOM");
The catch (e) {try {xmldoc =
Objective
The JavaScript prototype chain has always been a mystery to many novice book, but if you want to delve into JavaScript, you'll have to study the following, and you may have little chance to use it, but I'd like to say that the opportunity
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