It is not a complicated task, but a serverCodeTo control the running of a JS function during client loading. But it took a long morning, the first thing was to use
Page. clientscript. registerclientscriptblock (typeof (string), "fomrjs", JS );
First, let's talk about the browser. Although IE is still the leader in the browser market, it accounts for about 67% of its share, but due to its lack of expertise in all aspects, users start to select other browsers as their main tools for web
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.
Compatibility problem and solution of CSS multi-Browser
I. Document. formname. Item ("itemname ")
Problem description: in IE, you can use document. formname. item ("itemname") or document. formname. elements ["elementname"]; In Firefox,
1.doc ument. formname. Item ("itemname ")
Description: In IE, you can use document. formname. item ("itemname") or document. formname. elements ["elementname"]; In Firefox, only document. formname. elements ["elementname"].Solution: Use
1. Question about the ID of an HTML object as the object nameIE: the ID of the HTML object can be directly used as the variable name of the subordinate object of the document.FF: not supportedSolution: Use document. getelementbyid to replace
Compatibility between IE and Firefox in Javascript
1.doc ument. formname. Item ("itemname ")Note:In IE, you can use document. formname. Item ("itemname") or document. formname. elements ["elementname"];In Firefox, only document. formname.
Adding new DOM elements to a document is sometimes necessary. Like shutting down an elephant in the refrigerator, there are three steps in total:
Step 1: Create a node or element you want to add)
Step 2: let Dom know where you want to add it to
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.
Summary of incompatibility and unified methods between IE and Firefox in Javascript zhoz
, Technical Development
, Comment (3)
, Reference (0)
, Reading (2127)
, Via original site
Large| Medium| Small
Reference address:
Note:
This address
Solution 1:Document. Body is null: the front-end students should be familiar with this error.The cause of this problem is: you are too anxious, the document has not been rendered to the body, you want to call, of course, will not findSolution: so
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.
Custom tags)
(Prepared study notes)
Step 1. Create a Tag handler class (Tag Processor class)
Package javax. servlet. jsp. tagext
Develop a label processor class for an empty Body -----> 1) implements Tag 2) extends TagSupport
The method of
Taglib
Tags are defined and distributed in a structure called the tag library. A tag library is a set of metadata and classes:1. Tag Processor: Java class that implements the custom tag function.2. Tag additional information (TEI): provides edge
Beautiful soup is a library of Python, and the main function is to fetch data from a Web page. The following article mainly introduces the Python crawler HTML text parsing library BeautifulSoup related data, the article introduced in very detailed,
This article mainly introduces how to use Meteor with Node. js Code example of real-time chat application, Node. as an asynchronous framework, js is used to compile real-time applications. For more information, see Derby. the framework for js
Large rollup of browser compatibility issuesØjavascript 31. Getting problems with HTML Objects 32. Const Issue 33. Event.x and EVENT.Y issues 34. Window.location.href Question 35. Frame Question 36. Modal and non-modal window problems 37. The
The QueryPath (QP) library achieves jQuery-like effects in PHP. It can also be used to conveniently process XMLHTML... features are too powerful !!! Official Homepage http://querypath.org/
Qp api manual http://api.querypath.org/docs/QueryPath (QP)
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.