Some mistakes in children's shoes1. Location The matching order is "match first, then match normal". Correction: The location of the matching order is actually "first match the normal, then match the regular." I say so, we will certainly refute me,
Some misunderstandings about location cognition1, the location of the matching order is "first match the regular, then match the normal."Correction: The location of the matching order is actually "first match the normal, then match the regular." I
JS Document attributes and Methods document. title // set the document title is equivalent to the title Tag document of HTML. bgColor // set the background color of the page document. fgColor // set the foreground color (text color) document.
JS Document attributes and methods. I hope you can understand them to facilitate future application development. Document. title // set the document title equivalent to the title tag of HTML
Document. bgColor // set the background color of the
One, What does it do?
$location Service analyzes the URLs in the browser's address bar (based on window.location), so that we can use the contents of the URL more conveniently in the application. Changing the URL in the Address bar responds to the $
Document. title // set the document title equivalent to the title tag of HTMLDocument. bgColor // set the background color of the pageDocument. fgColor // set the foreground color (text color)Document. linkColor // The link color that has not been
The Baidu map SDK provides developers with the following types of map covers:
MyLocationOverlay: The layer used to display the user's current position (custom position icons are supported );
PoiOverlay: A layer used to display the search
Window. location. reload refresh use analysis (go to the dialog box), window. location refresh
When you use window. location. reload; to refresh, if you submit data, an annoying dialog box is displayed!
To solve this problem, write as follows:
JS Object Attributes
Document. title // set the document title is equivalent to the tag of HTML.
Document. bgColor // set the background color of the page
Document. fgColor // set the foreground color (text color)
Document. linkColor // The link
Note: The element name attribute on the page must be consistent with the name referenced by JavaScript, including case sensitivity. Otherwise, an error message is displayed, "the referenced element is empty or not
Document Object-JavaScript script
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.