Click to See Complete Forum and Search --> : Editable DIV onPaste - HTML cleaner


infrared
September 8th, 2003, 07:01 AM
hi!

i have an editable div in my site to send a forum message.
people can edit thier messages (Bold, Italic, underline, add links and more)

but i want when some one paste or drop (- drop is not necessary, but paste it is) thier text i want it to go in the div with out HTML tags. - clean, just text.
(like if some one is going to word and make the text 200 points size, then copy & paste it in my div, he will have a very different message... and i don't want it to happend).

how can i scan the text coming from the clipboard to kill any HTML tags and then paste it in the DIV?

Thanks,