火狐扫瞄器中firebug调试console敕令大全(国外英语资料).doc

火狐扫瞄器中firebug调试console敕令大全(国外英语资料).doc

  1. 1、本文档共11页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 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

文档评论(0)

jgx3536 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:6111134150000003

1亿VIP精品文档

相关文档