- 1、本文档共11页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
火狐扫瞄器中firebug调试console敕令大全(国外英语资料)
火狐浏览器中firebug调试console命令大全
The Console command is detailed to make debugging js code easier
Firebug is a tool for web development that can greatly improve productivity.
But it is not easy to do. I once translated an introduction to Firebug and introduced some basic USES. Today, well continue with its advanced usage.
= = = = = = = =
The Firebug console explanation
By ruan
Source: //blog/firebug_console_tutorial.html
The Console (Console) is the first panel of Firebug and is the most important panel, and the main purpose is to display a variety of information during page loading.
A command that displays information
Firebug has a console object built in and provides five methods for displaying information.
The simplest method is the console.log (), which can be used to replace alert () or document.write (). For example, use the console in a web page script ( Hello World ) and the load time console automatically displays the following content.
In addition, according to the different nature of information, the console object there are four ways to display information, respectively is general information to the console. The info (), in addition to the wrong information to the console. The debug (), warning the console. Warn (), error message console. The error ().
For example, insert the following four lines in a web page script:
The ( this is info );
Console. Debug ( this is debug );
( this is warn );
The console. Error ( this is error );
When loading, the console displays the following.
As you can see, in front of the different nature of the information has different icon, and every message behind has super link, click on the corresponding line after the jump to page source.
Second, the placeholder
The top 5 methods of the console object can be used with printf style placeholders. However, there are fewer types of placeholders, only the characters (% s), integer (% d or % I), floating point (% f), and object (% o) four.
For instance,
( % d % d % d % d % d % d % d % d
您可能关注的文档
- 杂合子连续自交题目(国外英语资料).doc
- 朗朗书声盈校园(国外英语资料).doc
- 村庄小学白话外交教授教化存在的题目(国外英语资料).doc
- 杜关中学教师常态高效课堂量化管理办法(国外英语资料).doc
- 村级财务治理存在题目剖析及对策(国外英语资料).doc
- 束缚路小黉舍庆三十年寄语(国外英语资料).doc
- 本国文学史功课谜底(国外英语资料).doc
- 李光耀新加坡为何实施双语政策(国外英语资料).doc
- 机械制图的基础绳尺(国外英语资料).doc
- 来岁更难赚钱:2015年当心10大骗局(国外英语资料).doc
- 2023年社会工作者之中级社会工作实务基础试题库和答案要点.docx
- 2023年社会工作者之中级社会工作法规与政策自我检测试卷B卷附答案.docx
- 2024年社会工作者之中级社会工作法规与政策经典例题.docx
- 2024年教师招聘之中学教师招聘模拟题库及附答案.docx
- 2024年教师招聘之中学教师招聘练习题.docx
- 2023年执业药师之西药学综合知识与技能题库综合试卷A卷附答案.docx
- 2023年健康管理师之健康管理师三级历年题库含答案.docx
- 2024年税务师之涉税服务实务高分通关题库A4可打印版.docx
- 2024年一级建造师之一建公路工程实务综合检测试卷A卷含答案.docx
- 2024-2025学年高中英语 Unit 2 Working the land Section Ⅳ Using Language(教师用书)教案 新人教版必修4.docx
文档评论(0)