Question

How to make unordered list and ordered list in the RTE?


Answers (1)

by Jeong-Ho Lee 13 years ago

To make an ordered list, execCommand("insertorderedlist") function is used.


For IE: document.execCommand("insertorderedlist");
For non IE: document.execCommand("insertorderedlist",false,null);


To make an unordered list, execCommand("insertunorderedlist") function is used.


For IE: document.execCommand("insertunorderedlist");
For non IE: document.execCommand("insertunorderedlist",false,null);


Related Questions

New to Qsponge? Sign Up!

Already a Member?Login!

 

Ask a Question!

All questions submitted to Qsponge are anonymous, no user information is associated with any question.