Posts by Anderson Merten • 1 point
1 post
-
-2
votes5
answers683
viewsA: How to take input readonly
I believe that’s the mistake: $('document').on('click', function() {.....} Because you are waiting for a click on the document. To get the click of the button just modify your code so:…