Sometimes we need to write separate JS processing for the compatibility of some IE.
Code. There are multiple approaches:
1. Check navigation. useragent to determine whether it is IE, and then write the processing code of the IE Branch:2. by
Let's take a look at a piece of wrongCode.
Copy codeThe Code is as follows :#! /Bin/bash
For X in 'ls */.*/.*'
Cat $ X | Do echo $ x
While read line
Do
C = 'echo $ Line | awk-f' (''{print $1 }''
# Echo $ C
I = $ (I + $ C ))
Done
Echo
Done
Sometimes we do not want bubble events or default events, so we need some jquery methods to prevent bubble events and default events.
You can use the following three methods to block data to different degrees.
A: return false ---> in event
Generally, they create their own elements and append them to the page. But what if they are elements of the page that append them to another page element?
It looks like:
The element does become a child element of another element.
The element
Today, insus. Net exercises JavaScript to open a child window from the parent window. After processing some results in the Child window, the results are assigned to the text box in the parent window. Visible effect:
Create two aspx pages on the
Jquery submit () cannot submit a form
Error: F [s] is not a function,
JS submit () cannot submit formError: Document. getelementbyidx_x (...). Submit is not a function
These two mistakes are helpless. The syntax does not have any errors. How
One of the tasks issued in this iteration is that I need to use flex to call js to manipulate the 3D ball made with ajax, and the task falls on me, so I started to learn flex, I used flash to play games before, so I soon went through the syntax. I
In ie6 or above, we can use$ ("# SelectID"). val ("xx"); assign a value to a select control. However, an error is reported under ie6 !! We can use the following method in I: set_select_val ($ ("# selectID"), xx); // because ie6 does not support $ ("#
Stateless Http
The root cause of stateless connection is that the browser uses Socket to communicate with the server. After the server returns the request result to the browser, the current Socket connection is closed. In addition, the server will
What is htaccess?
In summary, the htaccess file is a configuration file on the Apache server, which is responsible for the web page configuration under the relevant directory. The htaccess file can help us achieve: webpage 301 redirection, custom 404
During program development, cookies are rarely used, such as http://jb51.net/article/33590.htm. Used to be written as a Cookie set. What is called a Cookie set is a Cookie, which has multiple values. The following describes how to create and use a
According to instructor Jiang Jinnan's blog, the ending point of WCF consists of three elements: Address, Binding, and Contract ), the description can be written as Endpoint = ABC.Address: The address determines the service location and solves the
"Two user controls are used in A. aspx page. The user control A has A button, and the textbox value in control B is obtained when you click it.
Because the name will change during generation, how should I write the findcontrol name?In addition, are
Today, the technical director called Apache and Tomacat integration. He found a lot of information on the Internet and found that it was the most convenient!
Below are two tomcat implementation load balancing, if there is only one, you can delete
First, let's look at the effect:
The effect of this control is to add a "watermark" effect to the TextBox Control, that is, when the TextBox is empty, a prompt message is displayed. Once the TextBox is focused, the style disappears.
Insus. NET
1) make sure you are in the home directory (if not, run: cd/home)2) create a backup folder (command: mkdir backup)3) create a backup. sh script.Vi backup. sh
Copy the following code (after copying: wq! To save ):
Copy codeThe Code is as follows :#! /
. The release of NET Framework 3.5 solves the json problem in WebService calling. This article introduces jQuery calling based on. NET Framework 3.5 WebService returns JSON data. In addition, it also introduces problems caused by improper parameter
Translation
Three. js is a great open-source WebGL library. WebGL allows JavaScript to operate on GPUs and implement 3D in the browser. However, this technology is still in its development stage, and there is a shortage of materials. Fans should
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