如何将GET参数传递给jsFiddle?我试过http://jsfiddle.net/mKwcF/?id=123,但我得到的只是http://fiddle.jshell.net/mKwcF/show/
我的示例js在上面的给定链接上很简单:
alert(window.location.href);
Run Code Online (Sandbox Code Playgroud) 我有什么办法可以从 CDN使用Google 的彩色表情符号字体吗?我试图在 jsfiddle 中使用它,但不知道如何使用。
更新.这个问题没问题.见第一条评论.
我试图用jsfiddle.net弄清楚这个代码,但是当我运行它时,它会触发连接到我电脑的实际打印机.我将打印更改为"警告" http://jsfiddle.net/eZ3jQ/并返回(((1*3)+ 5)*3).但是,当返回调用找到时,我预计它会再次运行查找.
有没有办法让程序继续运行?
function findSequence(goal) {
function find(start, history) {
if (start == goal)
return history;
else if (start > goal)
return null;
else
return find(start + 5, "(" + history + " + 5)") ||
find(start * 3, "(" + history + " * 3)");
}
return find(1, "1");
}
print(findSequence(24));
Run Code Online (Sandbox Code Playgroud) 每当我运行我的代码时,我都会收到错误{"error": "Please use POST request"}有人知道这个错误意味着什么吗?我在jsfiddle中
的代码:http://jsfiddle.net/Aidoboy/AdzwC/12/代码:
/*jslint browser: true, devel: true */
function Submit() {
//"use strict";
alert("running");
document.forms.form.submit();
var owed = 0;
function calc(n, o) {
if (n >= 90) {
owed = owed + 1;
if (n >= 95) {
owed = owed + 1;
}
}
else if (o >= 80) {
owed = owed + 0.5;
}
if (n > o) {
owed = owed + 0.5 * (n - …Run Code Online (Sandbox Code Playgroud) 是什么原因导致滚动条没有被夹在这个小提琴的桌子一侧:http://jsfiddle.net/m4HB3/8/ 目前它位于最后一列的下方,意味着它占据了一些列空间和从而导致表格的对齐问题.
表标题是固定的,因为我想要一个带有固定标题的滚动表.
问题可能是表格和各列的宽度设置?
有人也可以在jsfiddle外面的脚本上发布他们的答案并直接放在浏览器上,因为我已经看到了jsifddle中有些工作但后来在浏览器的主应用程序中无法工作的示例.
HTML:
<table id="tableqanda" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th width="5%" class="questionno">Question No.</th>
<th width="27%" class="question">Question</th>
<th width="7%" class="option">Option Type</th>
<th width="11%" class="image">Image</th>
</tr>
</thead>
</table>
<div id="tableqanda_onthefly_container">
<table id="tableqanda_onthefly" cellpadding="0" cellspacing="0">
<tbody>
<tr class="tableqandarow">
<td width="5%" class="questionno">1</td>
<td width="27%" class="question">What is a RAM?</td>
<td width="7%" class="option">A-E</td>
<td width="11%" class="imagetd"><ul class="qandaul"><li>Lighthouse_4.jpg</li></ul></td>
</tr>
<tr class="tableqandarow">
<td width="5%" class="questionno">2</td>
<td width="27%" class="question">Name 3 car maneuvers you may do in a test?</td>
<td width="7%" class="option">A-F</td>
<td width="11%" …Run Code Online (Sandbox Code Playgroud) 我知道jsFiddle用于支持来自GitHub的任意javascript文件,但现在不再支持了.可能是GitHub已经改变了它的mime类型的原始文件.当所需的js文件不在任何cdn中时可能有什么选择(可能是它不太受欢迎的js repo).
我认为jsfiddle非常整洁,我昨天用它来帮助堆栈溢出的人.
我创建了一个新的小提琴,点击'保存'并使用这个提供的链接:http://jsfiddle.net/77XLD/1/
这个链接工作到几个小时前,但突然之间,当我再次尝试找到我的旧小提琴时,我得到了一个404页面.他说:
Error 404
We're truly sorry, but there is no such page.
Run Code Online (Sandbox Code Playgroud)
现在我到目前为止还没有注册过jsfiddle.只有在那里注册时,jsfiddle是否会将页面存储无限时间?那么我的页面是否只是"超时"?
编辑(2014年8月11日):该页面又回来了.
country.json.[
{
"name": "WORLD",
"population": 6916183000
},
{
"name": "More developed regions",
"population": 1240935000
},
{
"name": "Less developed regions",
"population": 5675249000
},
{
"name": "Least developed countries",
"population": 838807000
},
{
"name": "Less developed regions, excluding least developed countries",
"population": 4836442000
},
{
"name": "Less developed regions, excluding China",
"population": 4284697000
},
{
"name": "Sub-Saharan Africa",
"population": 831464000
},
{
"name": "AFRICA",
"population": 1031084000
},
{
"name": "Eastern Africa",
"population": 342595000
},
{
"name": "Burundi",
"population": …Run Code Online (Sandbox Code Playgroud) 我想在像JSFiddle或JavaScript Bin这样的沙箱中创建Polymer元素的快速原型,但是我无法让它工作!
jsfiddle ×10
javascript ×5
css ×2
angularjs ×1
github ×1
google-fonts ×1
html ×1
jsbin ×1
json ×1
polymer ×1
polymer-1.0 ×1