Set the ordered list to use lowercase roman numbers:
document.getElementById("myOl").type = "i";
Click the button to set the ordered list to use lowercase roman numbers.
<!DOCTYPE html> <html> <body> <ol id="myOl"> <li>CSS</li> <li>HTML</li> <li>Java</li> </ol>//from w w w . j ava 2 s . com <button onclick="myFunction()">Test</button> <script> function myFunction() { document.getElementById("myOl").type = "i"; } </script> </body> </html>