How can i get border style with jQuery. The following is not working
$(\'#get\').click(function() { var x = $(\'div\').css(\'borderStyle\'); alert(x) })
Check this out. it appears you have to set an explicit side: How to get border width in jQuery/javascript Not exactly the same, but the same principle should apply to you, as demonstrated here:
alert($('div').css('border-top-style'));
http://jsfiddle.net/s7YAN/54/