N
Nancy Drew
hi all
i need to make sure that a user's text is always bolded inside a rich text
area. i've tried setting a onKeyUp event and run this command:
editdoc.execCommand('Bold',false,null);
this command always toggles the bold setting either on or off. is there a
way to check to see which option is currently selected and only toggle the
mode on if it's currently off. otherwise, is there a way to issue this
command so that bold is always set to be turned on?
tks
i need to make sure that a user's text is always bolded inside a rich text
area. i've tried setting a onKeyUp event and run this command:
editdoc.execCommand('Bold',false,null);
this command always toggles the bold setting either on or off. is there a
way to check to see which option is currently selected and only toggle the
mode on if it's currently off. otherwise, is there a way to issue this
command so that bold is always set to be turned on?
tks