Reputation: 376
i'm trying to toggle(hide/show) an input text by radio button choice but it doesn't work.
What's wrong? http://jsfiddle.net/mwwj9vvt/ Thanks :-)
onclick="$('#idprezzoCSSClass').css('display', 'yes');"
I'm not understanding why problem is: https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js Commenting and using diffrent jquery version/resource it works, but i need ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js https://jsfiddle.net/6psb8c73/
Upvotes: 1
Views: 153
Reputation: 1633
Refer the code below, it might help you
<script>
$(document).ready(function(){
$("#hide").click(function(){
$("p").hide();
});
$("#show").click(function(){
$("p").show();
});
});
</script>
<button id="hide">Hide</button>
enter code here
Upvotes: 0