FCKEditor + Jquery.form plugin ajax file upload
October 21, 2008 - 2:15pm — render
| Project: | FCKEditor Plugin |
| Version: | 1.2.9 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
When FCKEditor is on the page file upload using ajax doesnt work...
<script src="js/jquery.js"></script>
<script src="js/jquery.form.js"></script>
<script src="js/jquery.FCKEditor.js"></script>
<script>
$(document).ready(
function() {
$("form.ajax_upload_form").ajaxForm();
$('textarea').fck({path: '/fck/',toolbar:'my' }); //If i comment this row it works fine
});
</script><form id='myForm1' class="ajax_upload_form" action="test.php" method="POST" enctype="multipart/form-data">
<input type="file" id="fileToUpload" name="fileToUpload"><input type="submit">
</form>
<textarea></textarea>