TypeError: $("#input").cleditor is not a function

954 views
Skip to first unread message

Mischa Geiser

unread,
Jul 6, 2011, 10:13:47 AM7/6/11
to cleditor
I allways get this error, trying to use the cleditor. My script is
exactely the same as in the 'getting startet' example:

<html>
<head>
<link rel="stylesheet" type="text/css" href="jquery.cleditor.css" /
>
<script type="text/javascript" src="jquery.cleditor.js"></script>
<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#input").cleditor();
});
</script>
</head>
<body>
<textarea id="input" name="input"></textarea>
</body>
</html>

any thoughts?
thanks!

Peter Souza

unread,
Jul 6, 2011, 10:14:51 AM7/6/11
to cled...@googlegroups.com
Include jquery first, then the jquery-dependent cleditor.
--
-Pete

Jake Barlow

unread,
Jul 6, 2011, 11:05:51 AM7/6/11
to cled...@googlegroups.com
You have to move the jquery script line above the cleditor line


Jake Barlow
cell: 801.427.4607
HOMEnet Real Estate
ja...@barlowshomes.com
www.homenetutah.com

Reply all
Reply to author
Forward
0 new messages