October 13, 201510 yr I have a jQuery code which I need inprototype. How can I rewrite this with help of prototype ?<script>$('#select-custom-group').on('change',function(){if( $(this).val()==="K"){$(".nobr").show()}else{$(".nobr").hide()}});</script>
October 13, 201510 yr you could just write a basic function like that in regular JavaScript then it will work in any browser environment.
October 13, 201510 yr That kind of question sounds like a school assignment. Could it be that JavaScript finally has made its way into the uni curriculum? Edited October 13, 201510 yr by Nillervision
October 14, 201510 yr ^^Wouldn't surprise me seen as prototype is old technology hardly ever used these days.
Create an account or sign in to comment