Hi everyone,
I have been trying, and trying, and trying to debug this form with CKEditor. I have used the jquery adapter but it still doesn't seem to be working.
Here is the page - if you go to "your words" you will see the form. When you click save I used jQuery Form Plugin to submit it.
Here is a link to the page: http://www.labs.9thdesign.co.nz/dimensions/dynamic/blog/add/
Here is the form processing jQuery:
// ---------------------- FORM PROCESSING ---------------------- // $(document).ready(function() { var options = { beforeSubmit: validate, // pre-submit callback success: showResponse // post-submit callback }; $('#action_form').ajaxForm(options); }); function validate(formData, jqForm, options) { if($('#action_form').validationEngine({returnIsValid:true}) == true){ return true; }else{ return false; } } function showResponse(responseText, statusText) { $("#notification").removeClass().addClass("saved"); if(html == "approval"){ $("#notification").removeClass().addClass("approve"); } $("#notification").fadeIn("slow"); $(this).delay(2000,function(){ $("#notification").fadeOut("slow"); }); }
This is the code that instigates the CKEditor
// ---------------------- CKEDITOR ---------------------- // $(document).ready(function() { var config = { contentsCss : '<?PHP echo $config['EditorAreaCSSFCK'] ?>', baseHref : '<?PHP echo $config['BaseHrefFCK'] ?>', height : '300px', toolbar : 'Blog' }; // Initialize the editor. // Callback function can be passed and executed after full instance creation. $('#form_content').ckeditor(config); });
Re: jQuery and jquery form plugin - empty $_POST submit.
Re: jQuery and jquery form plugin - empty $_POST submit.
Re: jQuery and jquery form plugin - empty $_POST submit.
Having wasted a day so far, I now need to find more time to investigate further. Please shout really loud if you find a solution.
Re: jQuery and jquery form plugin - empty $_POST submit.