JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div id="testDiv" onclick="myFunction();">this is my content..click here for applicate the box-shadow</div>
<script>
function myFunction(){
document.getElementById("testDiv").style["boxShadow"] = "0 0 5px #999999";
}
</script>