[Solved] Display the value in the alertboxKiratMarch 4, 2023Solved $('#btn2').click(function () { var val = $('#asdf').val(); alert(val); }) DEMO solved Display the value in the alertbox # javascript# jquery