在JsFiddle中打印Var [英] Print Var in JsFiddle

查看:112
本文介绍了在JsFiddle中打印Var的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从JavaScript中将内容打印到JsFiddle的结果屏幕中。我不能使用 document.write(),它不允许它,也不能 print

How would I print something to the result screen in JsFiddle from my JavaScript. I can't use document.write(), it doesn't allow it, neither print.

我应该使用什么?

推荐答案

能够看到<的输出JSFiddle中的code> console.log(),转到左侧面板上的外部资源,并为Firebug添加以下链接:

To be able to see output from console.log() in JSFiddle, go to External Resources on the left-side panel and add the following link for Firebug:

https://getfirebug.com/firebug-lite-debug.js

这篇关于在JsFiddle中打印Var的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆