I'm update value via javascript class. How to check the current value is set or not.
My code is below,
<script>
$(document).ready(function() {
$(".sampleClass").click(function(){
var sampleValue = $(this).val();
var samplePrice = $(".samplePriceValue").val();
.....
});
});
</script>