How can i get border style with jQuery. The following is not working
$(\'#get\').click(function() { var x = $(\'div\').css(\'borderStyle\'); alert(x) })
alert($("div.myel").css("border-top-style"));
http://jsfiddle.net/jbrooksuk/YJQAS/
It seems that you're unable to get the whole border style in one go. You need to explicitly state which part of it you want.