Hi,
I have created a Button in the same form as FCKEditor is, and When i click on the Button, I would to have the text replaced with "<DIV Class="abc">This is Overwrite</div>".
onclick, i am hitting a function, reptext(), with document.frm1.fke.value = "<DIV Class="abc">This is Overwrite</div>";
But, it didnt replace the text , Any ideas please how to replace the text onclick.
I am new to Java Script. Please help.
I have created a Button in the same form as FCKEditor is, and When i click on the Button, I would to have the text replaced with "<DIV Class="abc">This is Overwrite</div>".
onclick, i am hitting a function, reptext(), with document.frm1.fke.value = "<DIV Class="abc">This is Overwrite</div>";
But, it didnt replace the text , Any ideas please how to replace the text onclick.
I am new to Java Script. Please help.