"jquery value cndtn"
Bootstrap 4.1.1 Snippet by iammohitverma

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2> </div> </div>
<script> $(document).ready(function() { $('input[type=radio][name=proteinLens]').change(function() { if (this.value == 'f1.2') { console.log("Apperture = " + this.value); $("#changeImgAcc2ProteinLens").css({ "filter": "blur(10px)" }) } else if (this.value == 'f2.7') { console.log("Apperture = " + this.value); $("#changeImgAcc2ProteinLens").css({ "filter": "blur(8px)" }) } else if (this.value == 'f0.8') { console.log("Apperture = " + this.value); $("#changeImgAcc2ProteinLens").css({ "filter": "blur(6px)" }) } else if (this.value == 'f0.7') { console.log("Apperture = " + this.value); $("#changeImgAcc2ProteinLens").css({ "filter": "blur(4px)" }) } else if (this.value == 'f0.85') { console.log("Apperture = " + this.value); $("#changeImgAcc2ProteinLens").css({ "filter": "blur(0px)" }) } else { alert("no") } }); }) </script>

Related: See More


Questions / Comments: