1. It is found that the id attribute of the input label in IE is the same as the name attribute by default. Firefox must explicitly write the id attribute name; otherwise, the id attribute cannot be used.
For example, The following code in IE can be executed, but not in Firefox:
The following code must be changed:
Reprinted as follows:
1. document. formName. item ("itemName ")
Note: in IE, you can use do
Frequently asked questions in JavaScript1. Collection Class object Problem
Many collection class objects in existing code use (), IE can accept, Firefox can not.
WORKAROUND: Use [] as the subscript operation instead. For example: Document.forms ("FormName") instead
JS code document.forms["FormName"]; Another example: Document.getelementsbyname ("InputName") (1); Change to Document.getelementsbyname ("InputName") [1];
document.forms["FormName"];
Anoth
1.firefox cannot support the innertext.Firefox supports innerHTML but does not support innertext, it supports textcontent to achieve innertext, but by default the extra space is retained. If you don't use textcontent, you can replace it with innerHTML if the string contains no HTML code.
2. Prohibit selection of Web page content:
In IE, js:obj.onselectstart=function () {return false;}
and Firefox uses Cs
How to compile Firefox extension (1)-technical preparation
I have been using Firefox for a long time. I like this little fox very much, especially the rich extensions it provides. I have always wanted to learn about the compilation of Firefox extensions. Now I can start. I will learn and write my own knowledge to help you learn.I have collected some documents
Sometimes we may find that the use of browsers slows down or causes other unknown problems. At this time, many users will reinstall the browser to solve the problem, but there is also a risk of loss of user data. At this point, we first need to find the cause of the problem, such as the browser version, plug-in, extension, and other compatibility, improper browser settings, and so on, and then take the right medicine. Here, the Firefox browser is used
This time to engage in CentOS, I use the version is CentOS6.3, basically all the same, the process is the same, mainly say the steps1. Download the Flashplayer plugin from adoble website: http://get.adobe.com/cn/flashplayer/, choose the version that is right for you, that is the tar.gz, download it.2.1) Find the file you just downloaded, the general default is downloads below, with the following command to extract TAR-XZVF install_flash_player_11_linu
Error: not found in any of your drives. Please insert the CentOS disc and press OK to retryReason:The status of the optical drive is disconnected due to the use of a VM and the use of the disc detection feature.Workaround:Primarily at the beginning of the installation, the following options are available:If the unfortunate choice is OK, then directly to the lower right corner of the optical drive icon select Connect, as follows:When installing
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. elements ["elementname"].
2. Collection class Object ProblemsNote: in IE, you can use () or [] to obtain collection class objects. In Firefox, you can only use
1.firefox cannot support the innertext.Firefox supports innerHTML but does not support innertext, it supports textcontent to achieve innertext, but by default the extra space is retained. If you don't use textcontent, you can replace it with innerHTML if the string contains no HTML code.
2. Prohibit selection of Web page content:In IE, js:obj.onselectstart=function () {return false;}and Firefox uses Css:-m
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. elements ["elementName"].
2. Collection class Object Problems
Note: in IE, you can use () or [] to obtain collection class objects. In Firefox, you can only us
Firefox, a product that once broke the dark (1)
Firefox has no chance of losing its biggest customer or mobile phone. However, this cannot erase the contributions it has made. "We have no business relationship with Google Now ." Mozilla business and Legal Officer Dixon Thaye said. This means that the company behind the Firefox browser has completely lost its ma
Firefox has hundreds of extensions, which one do you want to use? This collection of 50 popular extensions, download after installation, will make your Firefox browsing easier. Note that most extensions can be used on FireFox2.0, and if they are not available, use the Nightly Tester tools extension to get them to work. When a new Firefox version is released, this
Firefox browser shortcut key list, Firefox browser is Firefox, an open source browser developed by Mozilla.
Shortcut keys Daquan
Ctrl+b Display Favorites Sidebar on the left
Ctrl+l Address Bar
Ctrl+j Download
Ctrl+h Historical records
Ctrl+f Find
Ctrl+d Favorites Page
Ctrl+s Save Web Page
Ctrl+t Open new tab page
Ctrl+w off
"Ideas for solving problems"
Quick configuration, usually through Third-party tools to complete. And if you want to save the configuration, it is best to export the configured parameters to save, when necessary, and then import the browser can be.
"How To solve problems"
Set profile Directory
Users familiar with the Firefox browser know that in order to set the parameters of the operation, you need to enter the address bar "about:config" command t
We sometimes find that browsers are slow to use, or other unknown problems. At this point many users will use the reinstall browser to solve the problem, but the user's data will also have the risk of loss. At this point, we first need to find the cause of the problem, such as browser version and Plug-ins, extensions, such as compatibility, browser settings and so on, and then to the right remedy.
Here, take Firefox as an example, to show you how to
In this article, the authors introduce 7 different JavaScript syntax in IE and Firefox.
1. CSS "Float" valueThe most basic syntax for accessing a given CSS value is: Object.style.property, using the hump to replace a value with a connector, for example, to access a document.getElementById ("header"). style.backgroundcolor= "#ccc";But since the word "float" is a JavaScript reserved word, we can't access it with Object.style.float, where we can do this
ArticleDirectory
2.1 extensions)
2.2 chrome
2.3 xulrunner
2.4 XPCOM
2.5 XP install
3.1 Firefox extension Structure
3.2 extended Installation Process
3.3 Analysis of the XP install Module
3.4 analysis of the rdf Module
3.5 extended Startup Process
4.1 difficulties in Analysis
4.2 analysis gains
I am too lazy to organize the following figure. Upload a PDF file directly. If you are interested, check it out. I
Kevin's words: Because idiot IE is not compatible with W3C standards, it causes n multi-browser compatibility problems.
Article Is it easy to make web designer? You have to wipe Microsoft's ass all day, FT!
* The following article is transferred from example.
1.doc ument. formname. Item ("itemname ")Description: You can use document. formname. item ("itemname") or document. formname. elements ["elementname"]; In Firefox, only document. formname
1. document. formName. item ("itemName ")
Note: in IE, you can use document. formName. item ("itemName") or document. formName. elements ["elementName"];
In Firefox, only document. formName. elements ["elementName"] can be used.
Solution: Use document. formName. elements ["elementName"].
2. Collection class Object Problems
Note: in IE, you can use () or [] to obtain collection class objects. In Firefox,
Many netizens want to learn Firefox browser plug-in development this aspect of knowledge, however, at present, many data are more obscure, not very suitable for beginners. So, beginners want to learn Firefox browser plug-in development how to get started it? Let's take a look at today's Firefox plugin development Primer Tutorial!
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.