Having some trouble integrating the jQuery TextEditor plugin into my CodeIgniter project. I'm puzzled as to why it's not functioning properly. Just a heads up, my project also utilizes Bootstrap. Can anyone shed some light on why the plugin is failing to work? I've double-checked and ensured that all the necessary files are in the right directories, ruling out any file path issues. Any assistance would be greatly appreciated.
The code snippet for the <head>
section:
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="<?php echo base_url()?>css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="<?php echo base_url()?>css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css">
<link href="<?php echo base_url()?>css/custom-style.css" rel="stylesheet" type="text/css">
<link type="text/css" rel="stylesheet" href="<?php echo base_url()?>css/jquery-te-1.4.0.css">
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo base_url()?>js/jquery-te-1.4.0.min.js" charset="utf-8"></script>
<style>
.input-mysize{
width:700px;
}
.textarea-mysize{
width:700px;
height:300px;
}
</style>
</head>
The structure of my Textarea:
<form method="post" action="#">
<table border="0" width="100%">
<tr align="center">
<th><input class="input-mysize" type="text" name="c_title" cols="100"/></th>
</tr>
<tr align="center">
<td><textarea name="textarea" class="jqte-test"></textarea></td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" value="Update Content"/>
<input type="reset" value="reset"/>
</td>
</tr>
</table>
</form>
I've named the class in the Textarea "Jqte-test" based on the demo page example I found for jQueryTE. It's puzzling how their demo works while mine doesn't. Any insights or solutions would be highly valued and appreciated.