My code is:
var getDoc = (Prototype.Browser.Gecko) ? $('wysiwyg' +
this.textareaID).contentDocument : $('wysiwyg' +
this.textareaID).document;
getDoc.body.setStyle({ fontSize: '13px', fontFamily: 'Verdana, Arial,
Helvetica, sans-serif' });
If I use
getDoc.body.style.fontSize = "13px";
getDoc.body.style.fontFamily = "Verdana, Arial, Helvetica, sans-
serif";
it works fine.
update() also doesn't work.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---