Javascript examples for DOM HTML Element:Ol
Ol type Property - Set the ordered list to use lowercase roman numbers:
<!DOCTYPE html> <html> <body> <ol id="myOl"> <li>A</li> <li>B</li> <li>C</li> </ol>/*from w ww . j av a 2s . co m*/ <button onclick="myFunction()">Test</button> <script> function myFunction() { document.getElementById("myOl").type = "i"; } </script> </body> </html>