> Actually, I think this is what you want:
>
> $('#formPub').ajaxForm({
>target: '#response',
>beforeSubmit: function(a) {
> for (var i=0; i if (a[i].name == 'txt1')
> a[i].value = tinyMCE.getContent();
>},
>success: function(){
> $('#response').fad
Actually, I think this is what you want:
$('#formPub').ajaxForm({
target: '#response',
beforeSubmit: function(a) {
for (var i=0; i wrote:
Try adding a beforeSubmit handler like this:
$('#formPub').ajaxForm({
target: '#response',
beforeSubmit: tinyMCE.triggerSave,
success: fu
Try adding a beforeSubmit handler like this:
$('#formPub').ajaxForm({
target: '#response',
beforeSubmit: tinyMCE.triggerSave,
success: function(){
$('#response').fadeIn('slow');
}
});
$(document).ready(function(){
$('#formPub').ajaxForm({
target: '#response',
success: f
> just curious... does your textarea has an "id" attribute... i don't
> know if it is required, but if it doesn't have an id, then adding one
> might help. just my .02.
Yes my textarea have an "id", but the problem still remain :(
My form :
Title
Message
--
Massimiliano Marin
> Surely you mean
>$('#response').fadeIn('slow');
> not
> $('response').fadeIn('slow');
Thanks I've corrected it, but the problem still remain.
--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it." -- Alan Kay
just curious... does your textarea has an "id" attribute... i don't know if
it is required, but if it doesn't have an id, then adding one might help.
just my .02.
-GTG
On 6/26/07, Massimiliano Marini <[EMAIL PROTECTED]> wrote:
Hi all,
I've a form with 1 field and 1 textarea, for the textare
Surely you mean
$('#response').fadeIn('slow');
not
$('response').fadeIn('slow');
On 6/26/07, Massimiliano Marini <[EMAIL PROTECTED]> wrote:
Hi all,
I've a form with 1 field and 1 textarea, for the textarea I'm using
tinyMCE.
I've included the scripts :
This code is correct? Or tinyMC
7 matches
Mail list logo