原来firebug下的的console可以在js中调用
2009-02-11 13:45
246 查看
安装firebug后就可以在自己的js里使用console了(最新的firebug要首先启用console)。
e.g.
console.log('hello world');
props(console)
Methods: assert,
clear, count, debug, dir, dirxml, error, getFirebugElement, group,
groupCollapsed, groupEnd, info, log, notifyFirebug, profile,
profileEnd, time, timeEnd, trace, warn
Fields: firebug
e.g.
console.log('hello world');
props(console)
Methods: assert,
clear, count, debug, dir, dirxml, error, getFirebugElement, group,
groupCollapsed, groupEnd, info, log, notifyFirebug, profile,
profileEnd, time, timeEnd, trace, warn
Fields: firebug
相关文章推荐
- 原来js可以这样用。类似51la.cnzz统计的js接口
- WdatePicker.js 日历点击时,触发自定义方法 ,可以调用自己的函数。
- 原来JS可以这么写
- js函数内部调用的含有回掉的函数,其中回掉函数可以拿到外部函数传递的实参
- 意外作出了一个javascript的服务器,可以通过js调用并执行任何java(包括 所有java 内核基本库)及C#类库,并最终由 C# 执行你提交的javascript代码! 不敢藏私,特与大家分
- js中方法定义的时候没有定义参数,调用的时候可以传参吗?
- js模板,我们可以在<script>片断中定义一个被JS调用的代码,但代码又不在页面上显示.
- 令我醉的js加载图片,。。。原来,原来可以这样。。(简单粗暴)
- 一个页面可以重复调用的TAB选项卡切换js代码 鼠标悬浮
- JaveScript 初级知识,简称Js。与HTML的css相似,不过css只控制标签,而JS可以控制页面内容。相类似函数调用
- 谷歌console可以输出对象,js用cosole.log输出为不存在
- ready和onload比较;可以在下面的script里面调用先前script;动态为元素添加事件;浮动广告;js添加删除tr
- js调用工具Console命令
- js 阻止冒泡 在控件的 onxxx 事件中调用就可以阻止父控件也响应消息了
- 某个html页面中,head中的一个js可以调用另一个js的函数吗?
- android中java和JS互相调用,Web Console: Uncaught TypeError: Object [object Object] has no method
- 意外作出了一个javascript的服务器,可以通过js调用并执行任何java(包括 所有java 内核基本库)及C#类库,并最终由 C# 执行你提交的javascript代码! 不敢藏私,特与大家分
- asp.net中js和jquery调用ashx的不同方法分享,需要的朋友可以参考一下
- iOS开发在js中调用oc可以实现在HTML5中调用手机系统的相册,拍照等。