If you use innerHTML to insert the option under ie, ie will remove & lt; option & gt; and split it into multiple nodes. This will cause an error in the select statement:
This is an old bug and now provides a perfect solution. Because I have been
1.doc ument. formname. Item ("itemname ")
Description: You can use document. formname. item ("itemname") or document. formname. elements ["elementname"]; In Firefox, only document. formname. elements ["elementname"].
Solution: Use document.
I. CSS HACKThe following two methods can solve almost all today's HACK.
1 ,! ImportantWith IE7! Important Support ,! The important method is only for the HACK of IE6. (note the writing method. Remember to advance the declaration position .)
2,
Preface:
I think the title is still quite long. There are many other functions. In fact, the simplification is just a function. asynchronous form submission only supports Image Upload under the big function of asynchronous form submission,
/*Couplet advertisement callThe first parameter is ID, the second parameter is image, and the third parameter is the distance from the advertisement to the top,The fourth parameter indicates left and right (true indicates left, false indicates right)
For example, setcookies ("cookiesname", value, "1 H") // Save the value to cookiesname for one hour. This function is relatively simple. Please refer to the source code. Function setcookie (a, B) {var d = new date (); var v = arguments; var c =
1.doc ument. formname. Item ("itemname ")Note: in IE, you canUse document. formname. Item ("itemname") or document. formname. Elements["Elementname"]; In Firefox, only document. formname. elements ["elementname"] can be used.Solution: Use document.
rolling ty studio │ uninterrupted news
Article List
CSS layout demonstration CSS layout by forestgan
2006-11-1
three columns adaptive width liquid layout │ three column liquid layouts
CSS compatibility of Internet
1.doc ument. formname. Item ("itemname ")Description: You can use document. formname. item ("itemname") or document. formname. elements ["elementname"]; In Firefox, only document. formname. elements ["elementname"].Solution: Use document. formname.
First, create the HTML page sort.html and copy the following content.
Copy codeThe Code is as follows:
untitled document
ID | -
name | -
1
happy
3
open meal
5
open
ID | -
name | -
1
happy
I feel like a picture, so I put it here:
Pre {font-family:; width: 420px; Border: 3px solid red;/* for IE */filter: progid: DXImageTransform. microsoft. matrix (sizingmethod = "auto expand", M11 = 1, M12 =-0.4, m21 = 0.4, m22 = 1);/* For Firefox */-
1.document.formname.item ("ItemName") problem
Note: Under IE, you can use Document.formName.item ("ItemName") or document.formName.elements ["elementname"]; Firefox, you can only use the document.formname.elements["ElementName"].
Workaround: Unify
[CSS3 painting] CSS3 made by Opera browser logo support Browser Chrome, Firefox, 360 Original Address View:http://www.w3cfuns.com/thread-5592900-1-1.html
First create an HTML page for sort.html and copy the following content into it
Copy Code code as follows:
Untitled Document
ID|-
name|-
1
Happy
3
Dinner
5
Open
ID|-
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.