Hi
When I submit the form, I don't get the value of the ckeditor textarea field by posting it with the jQuery AJAX function $post()... (only firefox, IE > 7 seems to work).
jQuery function:
Thanx for your help!
When I submit the form, I don't get the value of the ckeditor textarea field by posting it with the jQuery AJAX function $post()... (only firefox, IE > 7 seems to work).
jQuery function:
<script type="text/javascript">
$(document).ready(function(){
$('#formnews').submit(function(){
var f = $('#formnews');
var action = f.attr('action');
var serializedForm = f.serialize();
$.post(action,serializedForm,function(data){
if(data > 0) {
var page = 'inc/newsdetail.php?id='+data;
openList('inc/browserlist.php?typ=news');
openFile(page);
}
else {
$("#form_error").html("<div class='error_text'>Bitte Titel und Text eingeben!</div>");
}
});
return false;
});
});
</script>Thanx for your help!
