Javascript examples for CSS Style Property:borderBottomStyle
Get the bottom border style of a <div> element
<!DOCTYPE html> <html> <body> <div id="myDiv" style="border-bottom:double;">This is a div.</div> <br> <button type="button" onclick="myFunction()">Return bottom border style</button> <script> function myFunction() {/*from w ww. j a v a 2s. c o m*/ console.log(document.getElementById("myDiv").style.borderBottomStyle); } </script> </body> </html>