Javascript “错误”;html:58未捕获类型错误:$(…)。circleGraphic不是函数;
我正在从头开始制作一个页面,我在制作一个圆形图形时遇到了一些问题 这是我的html代码:Javascript “错误”;html:58未捕获类型错误:$(…)。circleGraphic不是函数;,javascript,html,Javascript,Html,我正在从头开始制作一个页面,我在制作一个圆形图形时遇到了一些问题 这是我的html代码: <div class="row fourth-section"> <div class="trd-ev"> <h2>Title</h2> <div class="row section-one"> <div class="col-md-4"> <div class="ci
<div class="row fourth-section">
<div class="trd-ev">
<h2>Title</h2>
<div class="row section-one">
<div class="col-md-4">
<div class="circleGraphic1">
<canvas id="c0.3753633318105867" width="246" height="246"></canvas>
</div>
<script type="text/javascript">
window.onload = function () {$('.circleGraphic1').circleGraphic(); }
</script>
</div>
</div>
<div class="arrow bounce">
</div>
</div>
这是控制台错误:UncaughtTypeError:$(…)。circleGraphic不是functionwindow.onload`@index.html:58
你能帮我提些建议吗
非常感谢,
S.您是否加载了jquery?不管jquery插件给了你什么想要使用的.circleGraphic函数,你可以查看@JaromandaX,这是标签:你能帮我检查一下吗?@Gowtham,非常感谢。这些例子非常棒;)因此,您没有为.circleGraphic加载任何库
.circleGraphic1 {
color: transparent;
height: 246px;
}
canvas {
border: 1px solid green;
}