Firebug is a development plug-in under Firefox, and is now one of Firefox's five-star powerful recommendation plug-ins.
What is Firebug?After several years of Web development work, I feel that there are higher requirements for WEB development. Write beautiful HTML code; write exquisite CSS style sheets to display each page module; debug javascript to add more lively elements to the page; ajax should be used
In front of the blog to talk about the Internet Explorer JavaScript debugging methods, today nothing to do the Firefox browser (Firefox) JavaScript debugging method also looked at, recorded here, I hope to help.The code page We used this time is the code that gets the object by the Name property in the document Get Obj
This article mainly introduces the differences in JavaScript syntax between IE and Firefox, and seven different aspects in JavaScript syntax, if you are interested, you can refer to the conclusion that, although JavaScript history uses lengthy and annoying code blocks to mark specific browsers, the period has ended, ho
JavaScript compatibility has long been a major problem for Web developers. The differences between formal norms, factual standards and various implementations make many developers suffer day and night. To this end, mainly from the following aspects of the differences to summarize IE and Firefox JavaScript compatibility:
The difference of function and method;
Sec
Even though it's time to use long string, dull, and different branch code to handle different browsers, occasionally, it is necessary to make some simple differentiation and target detection to ensure that a piece of code can run properly on the user's machine. In this article, the author introduces seven different JavaScript syntaxes in IE and Firefox.
1. CSS "float" ValueThe most basic syntax for accessin
This article provides a detailed analysis of the solutions to the JavaScript compatibility problem between IE and FireFox. If you need a friend, refer to it, I hope to help you in the following situations during development:
1. dynamically delete a row in the table.
Table: indicates a table object.
K: indicates the row number.
Table. rows [k]. removeNode (true); // fir
Javascript: javascript reads and writes XML in IE and FireFox to achieve AD rotation. Javascript tutorial
I recently updated my website homepage advertisement, ASP. NET ad controls can easily achieve this, but the homepage is a static page. Lenovo's ad Control Principle decides to use
If you want to learn JavaScript, you must know or understand it. 1. You can find that the id attribute of the input tag under IE is the same as the name attribute by default, firefox must specify the name of the id attribute; otherwise, the id attribute cannot be used.
For example:
The following code in IE can be executed, but not in Firefox:
Script
Alert (docu
This article describes how to use JavaScript to obtain the coordinates of the mouse (compatible with IE8, chome Google, and Firefox). If you need the coordinates of the mouse, refer to JavaScript to obtain the coordinates of the mouse (compatible: IE8, Google, Firefox, and Opera.
Directly copy the file into an html fi
This article summarizes the common compatibility problems of JavaScript in IE and Firefox browsers. Share to everyone for your reference, specific as follows:
Form
Document.formName.item ("ItemName")
IE: You can use Document.formName.item ("ItemName") or document.formname.elements["ElementName"]
Firefox: Only use document.formname.elements["Element
JavaScript compatibility has long been a major problem for Web developers. The difference between formal norms, factual standards, and the existence of various implementations has made many developers suffer day and night. To this end, mainly from the following aspects of the differences in the summary of IE and Firefox JavaScript compatibility:The difference of
JavaScript compatibility has long been a major problem for Web developers. Many developers suffer day and night due to the differences between formal specifications, fact standards, and various implementations. To this end, we mainly summarize the differences between IE and Firefox in the following aspects:
1. Differences between functions and methods;2. Style access and settings;3. DOM method and object r
The compatibility between IE and Firefox in Javascript is compiled below to replace Internet Explorer with IE and replace Mozzila Firefox with MF
1. document. form. item Problems(1) existing problems:Many statements such as document. formName. item ("itemName") exist in the existing code and cannot be run in MF.(2) solution:Use document. formName. elements ["ele
The compatibility between IE and Firefox in Javascript is compiled below to replace Internet Explorer with IE and replace Mozzila Firefox with MF
1. document. form. item problems(1) existing problems:Many statements such as document. formName. item ("itemName") exist in the existing code and cannot be run in MF.(2) solution:Use document. formName. elements ["ele
JavaScript compatibility has long been a major problem for Web developers. Many developers suffer day and night due to the differences between formal specifications, fact standards, and various implementations. To this end, we mainly summarize the differences between IE and Firefox in the following aspects:1. Differences between functions and methods;2. Style access and settings;3. DOM method and object ref
This article mainly introduces the function of adding JavaScript to favorites, which is compatible with IE, firefox, and chrome, and solves the problem of window. sidebar. addPanelisnotafunction. If you need it, refer to the implementation code below:
The Code is as follows:
ScriptFunction addFav (){If (document. all ){Window. external. addFavorite ('HTTP: // jb51.net', 'free Web directory ');} Else if
I used to test my website in IE8. Some of the Code that was written later failed and I had to download Firefox and its plug-in Firebug to find that FF does not support windows. event. So I changed my mind. HTML
The Code is as follows:
Javascript
The Code is as follows:
Function submit1 (e ){Var isie = (document. all )? True: false; // determines whether the kernel is IE or Mozilla.Var key;If
In the morning, I did some tests. When I got the page to Firefox, there were a bunch of problems. The page layout was not mentioned. The Javascript code problem was a headache, for example:
1. document. all () does not work in FF. It must be changed to document. getElementById ();
2. obj. innerText = "XXX"; in FF, it seems that there are occasional problems. Change to obj. innerHTML = "XXX.
3. var olE = doc
Unified interface: Add IE methods and attributes to FireFox. How does one run the code (pure js version) in Z-Blog? Because FF does not support insertAdjacentElement, the "Running code" link cannot be displayed. Today, I Googled and found a good article. I saved the following script into an iedom4moz. js file, and called -- OK on every page. Everything is done! Happy, just as happy as everyone, I shared it with you ^_^
The Code is as follows:
//
Javascript IE and Firefox compatibility highlights 1. document. form. item
(1) existing problems:
Many statements such as document. formName. item ("itemName") exist in the existing code and cannot be run in MF.
(2) solution:
Use document. formName. elements ["elementName"]
(3) Others
See 2
2. Collection class Object Problems
(1) existing problems:
In the existing Code, many collection class objects are use
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.