Iss jquery can return value other than px

For SO question# 38119538

by Louys Patrice Bessette

HTML

<script src="https://code.jquery.com/jquery-3.0.0.min.js"></script>
<button id="testit">Test the width value returned by click</button><br>
<br>
<div class="test">
blah
</div>

CSS

.test{
  width:80%;
  border:1px solid black;
}

JavaScript

$("#testit").click(function(){
	$(".test").html($(".test").css("width"));
});